geodesic_sphere

probnumeval.visual.geodesic_sphere(point, velocity)[source]

Compute the geodesic on the sphere.

It is given by the exponential map starting at a point \(p\) and initial velocity v t,

\[\gamma(t) := \text{Exp}_p(v t) = \cos(\|v\| t) p + \sin(\|v\| t) \frac{v}{\|v\|}\]

and can be used to compute a great circle on a sphere. The dimension of the sphere is read off the sizes of point and velocity.