Learn R Programming

frechet (version 0.3.0)

SpheGeoGrad: Compute gradient w.r.t. y of the geodesic distance \(\arccos(x^\top y)\) on a unit hypersphere

Description

Compute gradient w.r.t. y of the geodesic distance \(\arccos(x^\top y)\) on a unit hypersphere

Usage

SpheGeoGrad(x, y)

Value

A vector holding gradient w.r.t. y of the geodesic distance between x and y.

Arguments

x, y

Two unit vectors.