comparison scripts/linear-algebra/cond.m @ 5053:c08cb1098afc

[project @ 2004-10-19 23:10:54 by jwe]
author jwe
date Tue, 19 Oct 2004 23:10:55 +0000
parents aa7573ddf60f
children 4c8a2e4e0717
comparison
equal deleted inserted replaced
5052:c6ef19da4b24 5053:c08cb1098afc
21 ## @deftypefn {Function File} {} cond (@var{a}) 21 ## @deftypefn {Function File} {} cond (@var{a})
22 ## Compute the (two-norm) condition number of a matrix. @code{cond (a)} is 22 ## Compute the (two-norm) condition number of a matrix. @code{cond (a)} is
23 ## defined as @code{norm (a) * norm (inv (a))}, and is computed via a 23 ## defined as @code{norm (a) * norm (inv (a))}, and is computed via a
24 ## singular value decomposition. 24 ## singular value decomposition.
25 ## @end deftypefn 25 ## @end deftypefn
26 ##
26 ## @seealso{norm, svd, and rank} 27 ## @seealso{norm, svd, and rank}
27 28
28 ## Author: jwe 29 ## Author: jwe
29 30
30 function retval = cond (a) 31 function retval = cond (a)