Skip to contents

This function computes the exponential map on the unit sphere given a base point x and a vector v.

Usage

exp_map(x, v)

Arguments

x

Numeric vector representing the base point.

v

Numeric vector representing a point.

Value

Numeric vector representing the result of the exponential map.

Examples

exp_map(c(0,0,1), c(1,1,0))
#> [1] 0.6984560 0.6984560 0.1559437