mat_power {sstvars} | R Documentation |
mat_power
computes the j:th power of a square matrix A using
exponentiation by squaring.
mat_power(A, j)
A |
A square numeric matrix. |
j |
A natural number representing the power to which the matrix will be raised. |
A matrix which is A raised to the power j.