Re: [R] A function for raising a matrix to a power?

From: Michael Dewey <>
Date: Mon, 07 May 2007 13:51:33 +0100

At 15:48 06/05/2007, Ron E. VanNimwegen wrote:
>> Hi,
>>Is there a function for raising a matrix to a power? For example if
>>you like to compute A%*%A%*%A, is there an abbreviation similar to A3?
>>Atte Tenkanen

I may be revealing my ignorance here, but is MatrixExp in the msm package (available from CRAN) not relevant here?

[snip other suggestion]

Michael Dewey mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Mon 07 May 2007 - 13:06:35 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 07 May 2007 - 21:32:00 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.