octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #52342] vecnorm command


From: CH
Subject: [Octave-bug-tracker] [bug #52342] vecnorm command
Date: Mon, 6 Nov 2017 06:00:09 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0

Follow-up Comment #2, bug #52342 (project octave):

I would suggest making it a switch block and add special cases for p={1,2} for
performance. Furthermore, Matlab also allows -Inf, and the case of p<=0,
complex p or vector/matrix-valued p should be handled, the latter with the
appropriate error.

I assume this function was added for performance reasons, ie to not use
cellfun, so maybe this should be a builtin at some point later on?

Best

atcl

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52342>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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