airm_exp | R Documentation |
This function computes the Riemannian exponential map for the Affine-Invariant Riemannian Metric (AIRM).
airm_exp(sigma, v)
sigma |
A symmetric positive-definite matrix of class |
v |
A tangent vector of class |
A symmetric positive-definite matrix of class dppMatrix
.
if (requireNamespace("Matrix", quietly = TRUE)) {
library(Matrix)
sigma <- diag(2) |>
Matrix::nearPD() |>
_$mat |>
Matrix::pack()
v <- diag(c(1, 0.5)) |>
Matrix::symmpart() |>
Matrix::pack()
airm_exp(sigma, v)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.