octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

norm improvements II


From: Jaroslav Hajek
Subject: norm improvements II
Date: Tue, 12 Aug 2008 12:05:26 +0200

hello,

here is the updated patch. Having consulted Matlab this time (but not
the sources :), I also added special handlers for the vector
pseudonorms with p = -Inf (minimum), p = 0 (Hamming distance - missing
in Matlab). The general case of p < 1 is now also allowed for vector
norms (not matrix), because the expression sum(abs(x).^p).^(1/p) makes
sense, though it does not define a norm.


-- 
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz

Attachment: xnorm.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]