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

From: Michael Dewey <info_at_aghmed.fsnet.co.uk>
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
http://www.aghmed.fsnet.co.uk



R-help_at_stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html 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 https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.