metric.Euclidean {manifold}R Documentation

Returns the Riemannian metric

Description

Returns the Riemannian metric

Usage

## S3 method for class 'Euclidean'
metric(mfd, p, U, V)

metric(mfd, p, U, V)

## Default S3 method:
metric(mfd, p = NULL, U, V)

## S3 method for class 'HS'
metric(mfd, p, U, V)

## S3 method for class 'Dens'
metric(mfd, p, U, V)

## S3 method for class 'SO'
metric(mfd, p, U, V)

## S3 method for class 'LogEu'
metric(mfd, p, U, V)

## S3 method for class 'AffInv'
metric(mfd, p, U, V)

## S3 method for class 'Sphere'
metric(mfd, p, U, V)

Arguments

mfd

A manifold object created by createM

p

A vector containing the (single) base point on the manifold.

U, V

Matrices with n columns each containing a tangent vector. The metric of each pair of n columns is calculated.

Value

A vector with n entries containing the metric values

Methods (by class)


[Package manifold version 0.1.1 Index]