Map points on the Lorentz hyperboloid to the tangent space at mu.
Details
For unit-hyperboloid points \(z\) and \(\mu\), define
\(a=-\langle\mu,z\rangle_L\) and the intrinsic distance
\(d=\operatorname{acosh}(a)\) using lorentz_inner() and
hyperbolic_distance(). The logarithmic map is
$$\log_\mu(z)=\frac{d}{\sinh(d)}(z-a\mu),\qquad d>0.$$
The result is a tangent vector orthogonal to \(\mu\) under the Lorentz
inner product. At \(z=\mu\) the continuous extension is the zero vector.
Numerically, tol is compared with the distance \(d\), not with
\(a-1\): rows with \(d\leq\mathrm{tol}\) are set to zero. Other rows
use stable, algebraically equivalent coordinate formulas.
Examples
H <- simulate_H2(5, r_max = 2)
V <- lorentz_log_map(H$Z)
dim(V)