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

element of the unit sphere in three-dimensional Euclidean vector 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 Oct. 7, 2021, 9:14 a.m.

Related to Logmap in spherepc...