Re: [R] power of a matrix

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Wed 17 Aug 2005 - 22:37:59 EST

"Rau, Roland" <Rau@demogr.mpg.de> writes:

> Thank you very much! Thanks also to the authors of this function,
> Vincente Canto Cassola and Martin Maechler!
>
> This is exactly what I hoped for.
....
> > look at function ?mtx.exp() in the Malmig package, e.g.,

Also, there is mexp() in the Matrix package. I'm not sure about the relative merits. mexp() is one of the less dubious implementations of matrix exponentials, but it does require to and from class "Matrix". mtx.exp is a bit unfortunately named as it appears to calculate matrix *powers* (which in this case is what you need).

-- 
   O__  ---- Peter Dalgaard             ุster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)                  FAX: (+45) 35327907

______________________________________________
R-help@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
Received on Wed Aug 17 22:45:32 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:50 EST