n-th power of a matrix
jing tang wrote:
Hello all, To calculate the power of a matrix, I used the command "mtx.exp(X, n)", but there is an error saying "Error: couldn't find function "mtx.exp"". How can I deal with this problem? Jing
You have not told us in which package mtx.exp() is, and looking for it shows us that it is in package "Malmig". library(Malmig) mtx.exp(X, n) works for me. Folks, PLEASE think about the packages you are using! This is the (n+1)-th e-mail within 7 days not specifying the package you are talking about. Uwe Ligges