# HG changeset patch # User jwe # Date 1115402656 0 # Node ID be0bd7a760c9322bd44c5cf1a835dc5457cc620f # Parent f9ab8e67ce7a8cd1c967761c8905682cd78b7c10 [project @ 2005-05-06 18:04:16 by jwe] diff -r f9ab8e67ce7a -r be0bd7a760c9 src/DLD-FUNCTIONS/chol.cc --- a/src/DLD-FUNCTIONS/chol.cc Fri May 06 17:35:41 2005 +0000 +++ b/src/DLD-FUNCTIONS/chol.cc Fri May 06 18:04:16 2005 +0000 @@ -181,10 +181,12 @@ DEFUN_DLD (chol2inv, args, nargout, "-*- texinfo -*-\n\ -@deftypefn {Loadable Function} {} chol2inv (@var{r})\n\ +@deftypefn {Loadable Function} {} chol2inv (@var{u})\n\ Invert a symmetric, positive definite square matrix from its Cholesky\n\ -decomposition, @var{r}. Note that no check is performed to ensure\n\ -that @var{r} is actually a Cholesky factor.\n\ +decomposition, @var{u}. Note that @var{u} should be an upper-triangular\n\ +matrix with positive diagonal elements. @code{chol2inv (@var{u})}\n\ +provides @code{inv (@var{u}'*@var{u})} but it is much faster than\n\ +using @code{inv}.\n\ @seealso{chol, cholinv}\n\ @end deftypefn") {