2009/2/9 Hans Meine <[email protected]>:
>> 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?

I often work with vectors inside an array, so I would find it useful
(even if it is just a two-line wrapper).  I'd also add an "out"
argument, so that the signature is similar to that of max, min, etc.

norm(a, ord=None, axis=None, out=None)

Cheers
Stéfan
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to