projectTangent.Euclidean {manifold}R Documentation

Project data points in the ambient space onto the tangent space

Description

Project data points in the ambient space onto the tangent space

Usage

## S3 method for class 'Euclidean'
projectTangent(mfd, p, X, projMatOnly = FALSE, ...)

projectTangent(mfd, p, X, projMatOnly, ...)

## S3 method for class 'L2'
projectTangent(mfd, p, X, projMatOnly = FALSE, ...)

## S3 method for class 'HS'
projectTangent(mfd, p, X, projMatOnly = FALSE, ...)

## S3 method for class 'Dens'
projectTangent(mfd, p, X, projMatOnly, ...)

## S3 method for class 'SO'
projectTangent(mfd, p, X, projMatOnly = FALSE, ...)

## S3 method for class 'SPD'
projectTangent(mfd, p, X, projMatOnly = FALSE, ...)

## S3 method for class 'Sphere'
projectTangent(mfd, p, X, projMatOnly = FALSE, ...)

Arguments

mfd

A manifold object created by createM

p

A vector containing the base point on the manifold. Data X will be projected onto the tangent space of p.

X

A vector or a matrix containing the data points in terms of the coordinates in the ambient space.

projMatOnly

Whether to only return the projection matrix (FALSE) or the projected data points (TRUE, the default)

...

Passed into specific methods

Value

A matrix in which columns correspond to points on the tangent spaces

Methods (by class)


[Package manifold version 0.1.1 Index]