Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Repeated Matrix Product' topicStudent Support Forum > General > Archives > "Repeated Matrix Product"

Next Comment >Help | Reply To Topic
Author Comment/Response
Christopher Culbreath
05/03/09 9:21pm

Hello,

I can't figure out how to compute a product of matricies. The Product[] (or a capital letter Pi) function computes the scalar product A_n+1*A_(n) not A_(n+1).A_(n), the inner product.

I need to construct a loop. In C it would look something like

for (n=1, n<N, n++) {
b=f(n)*b;
}

Where f is some function of n. I'm not sure how to do an iterated loop like this in mathematica. Any attempts I've made result in recursion errors.

Thanks,

Christopher

URL: ,

Subject (listing for 'Repeated Matrix Product')
Author Date Posted
Repeated Matrix Product Christopher ... 05/03/09 9:21pm
Re: Repeated Matrix Product Richard 05/08/09 01:20am
Re: Re: Repeated Matrix Product Christopher ... 05/09/09 2:30pm
Re: Re: Re: Repeated Matrix Product yehuda ben-s... 06/10/09 07:10am
Next Comment >Help | Reply To Topic