mat_pow {caracas} | R Documentation |
Matrix power
Description
Matrix power
Usage
mat_pow(x, pow = "1")
Arguments
x |
A |
pow |
Power to raise matrix |
Examples
if (has_sympy() && sympy_version() >= "1.6") {
M <- matrix_(c("1", "a", "a", 1), 2, 2)
M
mat_pow(M, 1/2)
}
[Package caracas version 2.1.1 Index]