Hello, 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 1 10 and let d = [ 3 2 ] Then i would like to have "A/d" = 2/3 3/3 1/2 10/2 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. _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion