Mercurial > hg > octave-lyh
diff scripts/linear-algebra/cond.m @ 3265:a2b3a1413d28
[project @ 1999-09-03 02:53:03 by jwe]
author | jwe |
---|---|
date | Fri, 03 Sep 1999 02:53:10 +0000 |
parents | ae3bdfd82f91 |
children | f16c2ce14886 |
line wrap: on
line diff
--- a/scripts/linear-algebra/cond.m +++ b/scripts/linear-algebra/cond.m @@ -17,12 +17,13 @@ ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA ## 02111-1307, USA. -## usage: cond (a) +## usage: cond (A) ## -## Return the condition number of a, computed using the singular values -## of a. +## Return the condition number of A, computed using the singular values +## of A. If the maximum and minimum singular values of A are both zero, +## cond returns Inf rather than NaN. ## -## See also: norm, svd +## See also: norm, svd, rank ## Author: jwe