[SciPy-dev] L0 norm
Mon Oct 26 12:14:02 CDT 2009
Please do file a ticket: http://scipy.org/BugReport. Thanks!
On Mon, Oct 26, 2009 at 10:07 AM, Jason Rennie <email@example.com> wrote:
> SciPy.linalg.basic.norm (version 0.7.0) raises a division-by-zero error
> when an ord value of zero is used. Yet, the L0 norm is commonly defined as
> the number of non-zero elements in a vector (see wikipedia link below). Has
> there been any discussion of adding an if statement to
> scipy.linalg.basic.norm to handle this case? Or, is this the behavior in a
> future version of scipy? If this functionality hasn't yet been added, would
> anyone object to a ticket being created requesting this feature?
> Jason Rennie
> Research Scientist, ITA Software
> Scipy-dev mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Scipy-dev