[Numpy-discussion] matrix operation
gberbeglia at gmail.com
Fri Mar 12 13:52:32 EST 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-operation-tp27879913p27879913.html
Sent from the Numpy-discussion mailing list archive at Nabble.com.
More information about the NumPy-Discussion