mpower | R Documentation |
%^%
calculates x^p
for the square matrix, x
, by
spectral decomposition.
x%^%p
x |
A square matrix. |
p |
The power to which the matrix is to be raised. |
%^%
returns the power of a matrix.
J.K. Lindsey
## Not run: x <- matrix(c(0.4,0.6,0.6,0.4),nrow=2) x%^%2 x%^%10 x%^%20 ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.