Re: Multiplying Elements of arrays: Inner product
- To: mathgroup at smc.vnet.net
- Subject: [mg68519] Re: Multiplying Elements of arrays: Inner product
- From: Gopinath Venkatesan <gopinathv at ou.edu>
- Date: Wed, 9 Aug 2006 04:18:08 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Thanks to all of you who suggested me ideas. Yes, its easy to directly calculate the dot product of two matrices cd and ab as, ef = cd.ab (symbols as defined in my question). This question is a simplification of my original problem. The reason I wanted to do this because I had to calculate only the product of certain section of a matrix cd with corresponding elements of column vector or another matrix. I am also thinking of using direct multiplication of entire matrices cd and ab as such and then extracting the values of appropriate location to some dummy matrix. But if I make my previous procedure to work, I will understand better about the usage of double square closed brackets. Thanks, Gopinath Venkatesan Graduate Student, University of Oklahoma