| distance.Euclidean | R Documentation |
Geodesic distance
## S3 method for class 'Euclidean'
distance(mfd, X, Y, ...)
distance(mfd, X, Y, ...)
## S3 method for class 'L2'
distance(mfd, X, Y, ...)
## S3 method for class 'HS'
distance(mfd, X, Y, ...)
## S3 method for class 'Dens'
distance(mfd, X, Y, ...)
## S3 method for class 'SO'
distance(mfd, X, Y, ...)
## S3 method for class 'LogEu'
distance(mfd, X, Y, assumeLogRep = FALSE, ...)
## S3 method for class 'AffInv'
distance(mfd, X, Y, ...)
## S3 method for class 'Sphere'
distance(mfd, X, Y, ...)
mfd |
A manifold object created by |
X, Y |
Matrices with n columns. The distance between each pair of columns is calculated. If either X or Y is a vector then it is recycled. |
... |
Passed into specific methods |
assumeLogRep |
Whether to assume the input are already the representations under the logarithm map |
A vector with n entries containing the distances between pairs of points
distance(Euclidean): Method
distance(L2): Method
distance(HS): Method
distance(Dens): Method
distance(SO): Method
distance(LogEu): Method
distance(AffInv): Method
distance(Sphere): Method
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.