Convert Poincare Disk Coordinates to Lorentz Coordinates
Source:R/hyperboloid.R
poincare_to_lorentz.RdConvert two-dimensional Poincare disk coordinates to the upper sheet of the
Lorentz hyperboloid. Input rows must satisfy rowSums(P^2) < 1.
Examples
P <- matrix(c(0, 0, 0.2, -0.1), ncol = 2, byrow = TRUE)
Z <- poincare_to_lorentz(P)
check_hyperboloid(Z)