Returns the distances between vectors in two arrays
p: np.ndarray (PxM) :
first array
q: np.ndarray (QxM) :
second array
nrm: float (default: 2) :
Norm used for distance computation. By default Euclidean distances are computed.
pq: np.ndarray (PxQ) :
Distance between p[j] and q[j] is in pq[i,j]
Notes
If p or q are vectors (one-dimensional) then pq is also a vector
mvpa2.misc.surfing.volgeom.from_any
Enter search terms or a module, class or function name.