Mercurial > hg > octave-nkf
diff scripts/linear-algebra/orth.m @ 2311:2b5788792cad
[project @ 1996-07-11 20:18:38 by jwe]
author | jwe |
---|---|
date | Thu, 11 Jul 1996 20:18:38 +0000 |
parents | 5cffc4b8de57 |
children | 204cc7db6f4a |
line wrap: on
line diff
--- a/scripts/linear-algebra/orth.m +++ b/scripts/linear-algebra/orth.m @@ -17,17 +17,17 @@ ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA ### 02111-1307, USA. -function retval = orth (A, tol) +## usage: orth (A, tol) +## orth (A) +## +## Returns an orthonormal basis of the range of A. +## +## The dimension of the range space is taken as the number of singular +## values of A greater than tol; the default for tol is +## max (size (A)) * sigma_max (A) * eps, where sigma_max (A) is the +## maximal singular value of A. - ## usage: orth (A, tol) - ## orth (A) - ## - ## Returns an orthonormal basis of the range of A. - ## - ## The dimension of the range space is taken as the number of singular - ## values of A greater than tol; the default for tol is - ## max (size (A)) * sigma_max (A) * eps, where sigma_max (A) is the - ## maximal singular value of A. +function retval = orth (A, tol) ## Written by KH (Kurt.Hornik@ci.tuwien.ac.at) on Dec 24, 1993.