[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
"norm" and "help norm" inconsistent
From: |
Michael Creel |
Subject: |
"norm" and "help norm" inconsistent |
Date: |
Fri, 26 Mar 2004 15:07:23 +0100 |
User-agent: |
KMail/1.6.1 |
help norm says to use 'Inf', but octave really wants you to use 'inf'
GNU Octave, version 2.1.57 (i386-pc-linux-gnu).
Copyright (C) 2004 John W. Eaton.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
Report bugs to <address@hidden> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).
octave:1> norm(ones(2,1),'Inf')
error: norm: unrecognized norm
error: evaluating if command near line 77, column 9
error: evaluating if command near line 76, column 7
error: evaluating if command near line 75, column 5
error: evaluating if command near line 73, column 3
error: called from `norm' in file
`/usr/share/octave/2.1.57/m/linear-algebra/norm.m'
octave:1> norm(ones(2,1),'inf')
ans = 1
octave:2>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- "norm" and "help norm" inconsistent,
Michael Creel <=