Logmap: Logarithm map

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/spherepc.R

Description

This function performs the logarithm map at (0, 0, 1) on the unit sphere.

Usage

1
Logmap(vec)

Arguments

vec

an element of the unit sphere in three-dimensional Euclidean space.

Details

This function performs the logarithm map at (0, 0, 1) on the unit sphere. Note that, vec is normalized to be contained in the unit sphere.

Value

two-dimensional vector.

Author(s)

Jongmin Lee

References

Fletcher, P. T., Lu, C., Pizer, S. M. and Joshi, S. (2004). Principal geodesic analysis for the study of nonlinear statistics of shape. IEEE Transactions on Medical Imaging, 23, 995-1005.

See Also

Expmap.

Examples

1
Logmap(c(1/sqrt(2), 1/sqrt(2), 0))

Example output

Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl.init' failed, running with 'rgl.useNULL = TRUE'. 
[1] 1.110721 1.110721

spherepc documentation built on April 14, 2020, 6:41 p.m.

Related to Logmap in spherepc...