# scipy.spatial.distance.num_obs_dm

scipy.spatial.distance.num_obs_dm(d)

  Return the number of original observations that correspond to a square, redundant distance matrix.

  Parameters
    d array_like

      The target distance matrix.

  Returns
    num_obs_dm int

      The number of observations in the redundant distance matrix.

scipy.spatial.distance.is_valid_y scipy.spatial.distance.num_obs_y