[Numpy-discussion] Vectorization of the product of several matrices ?
Sun Sep 28 10:47:27 CDT 2008
I have two lists of numpy matrices : LM = [M_i, i=1..N] and LN = [N_i, i =1..N]
and I would like to compute the list of the products : LP = [M_i * N_i, i=1..N].
I can do :
for i in range(N) :
But this is not vectorized. Is there a faster solution ?
Can I vectorize this operation ? How ?
Will it be more efficient than the code above ?
Thank you for your help,
Créez votre adresse électronique email@example.com
1 Go d'espace de stockage, anti-spam et anti-virus intégrés.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion