Re: Multiplying Elements of arrays: Inner product
- To: mathgroup at smc.vnet.net
- Subject: [mg68571] Re: Multiplying Elements of arrays: Inner product
- From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
- Date: Wed, 9 Aug 2006 23:57:17 -0400 (EDT)
- Organization: The Open University, Milton Keynes, UK
- References: <ebc68s$kvc$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Gopinath Venkatesan wrote: > 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. Hi Gopinath, The following packages might be of interest: LinearAlgebra`MatrixManipulation` [1] Statistics`DataManipulation` [2] HTH, Jean-Marc [1] http://documents.wolfram.com/mathematica/Add-onsLinks/StandardPackages/LinearAlgebra/MatrixManipulation.html [2] http://documents.wolfram.com/mathematica/Add-onsLinks/StandardPackages/Statistics/DataManipulation.html