[Numpy-discussion] linalg.norm missing an 'axis' kwarg?!
Mon Feb 9 06:23:39 CST 2009
On Thursday 20 November 2008 11:54:52 Hans Meine wrote:
> On Thursday 20 November 2008 11:11:14 Hans Meine wrote:
> > I have a 2D matrix comprising a sequence of vectors, and I want to
> > compute the norm of each vector. np.linalg.norm seems to be the best
> > bet, but it does not support axis. Wouldn't this be a nice feature?
> Here's a basic implementation. docstring + tests not updated yet, also I
> wonder whether axis should be the first argument, but that could create
> compatibility problems.
AFAICS, I never received an answer, but IMHO this should be integrated into
NumPy. Any objections?
More information about the Numpy-discussion