Re: [R] Exponent of sqr symmetric matrix

2010-11-07 Thread Dennis Murphy
Hi: Check out the expm package, particularly function expm(). HTH, Dennis On Sun, Nov 7, 2010 at 6:21 PM, zhiji19 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 > mat

[R] Exponent of sqr symmetric matrix

2010-11-07 Thread zhiji19
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? Tha