[SciPy-dev] L0 norm

David Goldsmith d.l.goldsmith at gmail.com
Mon Oct 26 13:14:02 EDT 2009


Please do file a ticket: http://scipy.org/BugReport.  Thanks!

DG

On Mon, Oct 26, 2009 at 10:07 AM, Jason Rennie <jrennie at gmail.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?
>
> http://en.wikipedia.org/wiki/L0_norm#Zero_norm
>
> Cheers,
>
> Jason
>
> --
> Jason Rennie
> Research Scientist, ITA Software
> 617-714-2645
> http://www.itasoftware.com/
>
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20091026/91a2a91c/attachment.html>


More information about the SciPy-Dev mailing list