### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.9 Reference Guide (DRAFT) »
- Spatial algorithms and data structures (`scipy.spatial`) »
- scipy.spatial.distance »

# scipy.spatial.distance.num_obs_dm

`scipy.spatial.distance.``num_obs_dm`(d)

  Returns the number of original observations that correspond to a square, redudant distance matrix `D`.

  Parameters : | d : ndarray The target distance matrix.
  Returns : | numobs : int The number of observations in the redundant distance matrix.

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.9 Reference Guide (DRAFT) »
- Spatial algorithms and data structures (`scipy.spatial`) »
- scipy.spatial.distance »