matrix multiplication (newbie question)
Bill Baxter
wbaxter at gmail.com
Wed Nov 8 17:39:07 CST 2006
Also have a look at the section on Arrays vs Matrices in the Numpy for
Matlab users page. That particular section has nothing to do with
Matlab, really.
http://www.scipy.org/NumPy_for_Matlab_Users
Most of the suggestions and comments made here are already on that page.
--bb
On 11/8/06, Joris De Ridder <joris at ster.kuleuven.be> wrote:
>
> [im]: Sorry if this is an obvious question, but what is the easiest way to multiply matrices in numpy? Suppose I want to do A=B*C*D. The ' * ' operator apparently does element wise multiplication, as does the 'multiply' ufunc.
> [im] All I could find was the numeric function 'matrix_multiply, but this only takes two arguments.
>
> Have a look at the examples "dot()" and "mat()" in the Numpy Example List.
> http://www.scipy.org/Numpy_Example_List
>
> J.
>
> Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
More information about the Numpy-discussion
mailing list