airm_exp {riemtan} | R Documentation |
Compute the AIRM Exponential
Description
This function computes the Riemannian exponential map for the Affine-Invariant Riemannian Metric (AIRM).
Usage
airm_exp(sigma, v)
Arguments
sigma |
A symmetric positive-definite matrix of class |
v |
A tangent vector of class |
Value
A symmetric positive-definite matrix of class dppMatrix
.
Examples
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)
}
[Package riemtan version 0.1.0 Index]