vec_at_id | R Documentation |
Converts a symmetric matrix into a vector representation specific to operations at the identity matrix.
vec_at_id(v)
v |
A symmetric matrix of class |
A numeric vector, representing the vectorized tangent image.
if (requireNamespace("Matrix", quietly = TRUE)) {
library(Matrix)
v <- diag(c(1, sqrt(2))) |>
Matrix::symmpart() |>
Matrix::pack()
vec_at_id(v)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.