Hi all,

Is there any possibility to calculate norm along axis? For example:

a = np.array((
(3,4),
(6,8)))

And I want to get:
array([5.0, 10.0])

I currently use a for loop to achieve this, Is there any more elegant way to
do this?

-- 
Cheers,
Grissiom
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to