matrix_power | R Documentation |
This function raises a matrix to an exponent using the matrix's eigendecomposition.
matrix_power(x, p, symmetric = TRUE, tol = -12)
x |
A square matrix |
p |
Linear hypothesis vector |
symmetric |
Indicates whether x is a symmetric matrix (if true, improves performance slightly) |
tol |
Error tolerance for eigenvalues close to zero assumed to be zero |
A vector of eigenvalues
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.