Hi: Check out the expm package, particularly function expm().
HTH, Dennis On Sun, Nov 7, 2010 at 6:21 PM, zhiji19 <zhij...@gmail.com> wrote: > > Dear R experts, > > I really have difficulty when I try to deal with this question. > > suppose X is a square symmetric matrix. The exponent of X is defined by the > matrix limit as following: > exp(X) = lim (I + X/n)^n, note: the limit is from n to infinite. > > How can I write R function for the above? > > Thank you very much > > -- > View this message in context: > http://r.789695.n4.nabble.com/Exponent-of-sqr-symmetric-matrix-tp3031436p3031436.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@r-project.org 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. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org 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.