From: Stefan v. d. W. <st...@su...> - 2006-11-08 14:41:12
|
On Wed, Nov 08, 2006 at 05:54:17AM -0800, izak marais wrote: > Hi >=20 > Sorry if this is an obvious question, but what is the easiest way to mu= ltiply > matrices in numpy? Suppose I want to do A=3DB*C*D. The ' * ' operator a= pparently > does element wise multiplication, as does the 'multiply' ufunc. All I c= ould > find was the numeric function 'matrix_multiply, but this only takes two > arguments. You can also do N.dot(B, N.dot(C,D)). Cheers St=E9fan |