Mathematica 9 is now available
Student Support Forum
Student Support Forum: '.= dot product in do loop' topicStudent Support Forum > General > Archives > ".= dot product in do loop"

Next Comment >Help | Reply To Topic
Author Comment/Response
04/19/06 07:47am

I'm trying to get the product of multiple matrices from a do loop, where I get one from each repetition. So I should end up with something like
Bfin=b1.b2.b3.b4... and so on.
I was using *=, only to remember later that this doesn't multiply matrices correctly, and I'm pretty sure .= doesn't exist.
I can't just do Bfin=Bfin.b, because of recursion errors.
Is there any way around this?
I guess i could append all hte values to a list and then dot product the list entries, but should be a better way..I think
Any help would be appreciated, thank you

URL: ,

Subject (listing for '.= dot product in do loop')
Author Date Posted
.= dot product in do loop Lisa 04/19/06 07:47am
Re: .= dot product in do loop Mike 04/20/06 6:50pm
Re: .= dot product in do loop yehuda ben-s... 04/20/06 6:59pm
Next Comment >Help | Reply To Topic