vec_at_id {riemtan} | R Documentation |
Vectorize at Identity Matrix
Description
Converts a symmetric matrix into a vector representation specific to operations at the identity matrix.
Usage
vec_at_id(v)
Arguments
v |
A symmetric matrix of class |
Value
A numeric vector, representing the vectorized tangent image.
Examples
if (requireNamespace("Matrix", quietly = TRUE)) {
library(Matrix)
v <- diag(c(1, sqrt(2))) |>
Matrix::symmpart() |>
Matrix::pack()
vec_at_id(v)
}
[Package riemtan version 0.1.0 Index]