Deprecate norm of 3d and more ndarrays

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Deprecate norm of 3d and more ndarrays

mattip
Administrator
np.norm(a, axis=None) where a.ndim > 2 calls np.norm(np.ravel(a)). PR
14719 proposes deprecating this unexpected behavior, with the suggestion
that people who need this should call ravel themselves.


Thoughts?


Matti

_______________________________________________
NumPy-Discussion mailing list
[hidden email]
https://mail.python.org/mailman/listinfo/numpy-discussion