[SciPy-dev] L0 norm
Jason Rennie
jrennie@gmail....
Mon Oct 26 13:31:28 CDT 2009
Done.
http://projects.scipy.org/scipy/ticket/1037
Cheers,
Jason
On Mon, Oct 26, 2009 at 1:14 PM, David Goldsmith <d.l.goldsmith@gmail.com>wrote:
> Please do file a ticket: http://scipy.org/BugReport. Thanks!
>
> DG
>
> On Mon, Oct 26, 2009 at 10:07 AM, Jason Rennie <jrennie@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@scipy.org
>> http://mail.scipy.org/mailman/listinfo/scipy-dev
>>
>>
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>
>
--
Jason Rennie
Research Scientist, ITA Software
617-714-2645
http://www.itasoftware.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-dev/attachments/20091026/14896b30/attachment.html
More information about the Scipy-dev
mailing list