From: Roberto De A. <ro...@de...> - 2006-11-08 14:45:35
|
On 11/8/06, Keith Goodman <kwg...@gm...> wrote: > > 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. > If B and C and D are matrices, then '*' is matrix multiplication. I think the difference between arrays and matrices is not clear for him (he's clearly multiplying arrays). Izak, you should first convert you arrays to matrices using ``numpy.matrix``. --Rob |