Re: [Numpy-discussion] funny matrix product calculation

2008-09-15 Thread Robin
Success in business appears to be elusive for many people. So what is it that makes people successful? http://www.bestentrepreneur.net/2008/02/want-to-know-billionaires-formula.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

Re: [Numpy-discussion] funny matrix product calculation

2008-09-14 Thread Fabrice Silva
Le dimanche 14 septembre 2008 à 18:01 +0100, Robin a écrit : > Hi, > > I am trying to compute the following (with summation convention): > > A_{ij} B_{jm} x_{j} > > where A and B are non-square arrays (in fact B=A^T) and x is a vector. > I'm actually not sure if it's valid to have 3 summation in

Re: [Numpy-discussion] funny matrix product calculation

2008-09-14 Thread Nadav Horesh
Not a supper efficient solution, but mat sill may work: dot(A, B*x[:,None]) or dot(A*x, B) Nadav -הודעה מקורית- מאת: [EMAIL PROTECTED] בשם Robin נשלח: א 14-ספטמבר-08 20:01 אל: Discussion of Numerical Python נושא: [Numpy-discussion] funny matrix product calculation Hi, I am trying

[Numpy-discussion] funny matrix product calculation

2008-09-14 Thread Robin
Hi, I am trying to compute the following (with summation convention): A_{ij} B_{jm} x_{j} where A and B are non-square arrays (in fact B=A^T) and x is a vector. I'm actually not sure if it's valid to have 3 summation indices as above - but I'm pretty sure that's what I want... So it's kind of ma