[Numpy-discussion] matrix division without a loop
Fri Mar 12 12:54:43 CST 2010
I want to "divide" an n x n (2-dimension) numpy array matrix A by a n
(1-dimension) array d as follows:
Take n = 2.
Let A= 2 3
and let d = [ 3 2 ]
Then i would like to have "A/d" = 2/3 3/3
This is to avoid loops to improve the speed.
Thank you in advance!
View this message in context: http://old.nabble.com/matrix-division-without-a-loop-tp27881350p27881350.html
Sent from the Numpy-discussion mailing list archive at Nabble.com.
More information about the NumPy-Discussion