Checks whether every row \(x\) of X satisfies
\(-x_0^2 + x_1^2 + \dots + x_d^2 = -1\) and \(x_0 > 0\), up to a
relative tolerance (see manifold_hyperbolic).
Examples
X <- exp_map_hyperbolic(matrix(rnorm(20), nrow = 10, ncol = 2))
is_in_hyperbolic(X)
#> [1] TRUE
is_in_hyperbolic(matrix(runif(30), nrow = 10, ncol = 3))
#> [1] FALSE
