Re: [Numpy-discussion] newbie doubt about dot()

2008-04-01 Thread Alan G Isaac
On Tue, 1 Apr 2008, harryos apparently wrote: > i need to calculate > wk=uk o (L-Psi) > where > uk=a vector of size (1 X N^2) > o =scalar product > l,Psi=vectors of (N^2 X 1) > i have an ndarray U of shape(M X N^2)where uk is one of the rows , and > L of shape (M X N^2) where l.transpose() is o

[Numpy-discussion] newbie doubt about dot()

2008-04-01 Thread harryos
i am slightly confused by this maths i need to calculate wk=uk o (L-Psi) where uk=a vector of size (1 X N^2) o =scalar product l,Psi=vectors of (N^2 X 1) i have an ndarray U of shape(M X N^2)where uk is one of the rows , and L of shape (M X N^2) where l.transpose() is one of the rows, If i were t