frameSphere {frechet}R Documentation

Generate a "natural" frame (orthonormal basis)

Description

Generate a "natural" frame (orthonormal basis) for the tangent space at x on the unit sphere.

Usage

frameSphere(x)

Arguments

x

A unit vector of length dd.

Details

The first (i+1)(i+1) elements of the iith basis vector are given by sinθij=1i1cosθj\sin\theta_i\prod_{j=1}^{i-1}\cos\theta_j, sinθisinθ1j=2i1cosθj\sin\theta_i\sin\theta_1 \prod_{j=2}^{i-1}\cos\theta_j, sinθisinθ2j=3i1cosθj\sin\theta_i\sin\theta_2 \prod_{j=3}^{i-1}\cos\theta_j, \dots, sinθisinθi1\sin\theta_i\sin\theta_{i-1}, cosθi-\cos\theta_i, respectively. The rest elements (if any) of the iith basis vector are all zero.

Value

A dd-by-(d1)(d-1) matrix where columns hold the orthonormal basis of the tangent space at x on the unit sphere.

Examples

frameSphere(c(1,0,0,0))

[Package frechet version 0.3.0 Index]