[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Inf norm help problem
From: |
Daniel J Sebald |
Subject: |
Re: Inf norm help problem |
Date: |
Fri, 2 Mar 2018 16:18:06 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 03/02/2018 03:41 PM, Vic Norton wrote:
> An experiment with GNU Octave, version 4.2.1:
> octave> help norm
> 'norm' is a built-in function from the file libinterp/corefcn/data.cc
> -- norm (A)
> If A is a vector or a scalar:
> If A is a vector or a scalar:
> P = `Inf' or "inf"
> `max (abs (A))’.
>
> octave> norm([1;2;3],'Inf')
> error: norm: unrecognized option: Inf
> octave> norm([1;2;3],"Inf")
> error: norm: unrecognized option: Inf
> octave> norm([1;2;3],'inf')
> ans = 3
> octave> norm([1;2;3],"inf")
> ans = 3
>
> With MATLAB R2017b (9.3.0.713579)
> 64-bit (maci64)
> September 14, 2017
> All four options work the way they are supposed to.
That's been addressed Vic:
https://savannah.gnu.org/bugs/?func=detailitem&item_id=50195
Should be in an upcoming release.
Thanks,
Dan