Skip to content
Prev 328941 / 398498 Next

Summation sign

Hi all

I have a short question relating to the usage of the summation sign in R.

Let's define A and B as two kxk matrices (which are constant).
C^(n) = ?_(j=1)^n [(?_(i=1)^(j-1) A^i ) B (?_(i=1)^(j-1) A^i)?  ]

My goal is to calculate the matrix C for the periods from 1 to 200
(n=1-200).

How has that to be implemented in R?

Thank you for your help!!

Kind regards,
Sebastian




--
View this message in context: http://r.789695.n4.nabble.com/summation-sign-tp4647621p4674384.html
Sent from the R help mailing list archive at Nabble.com.