# HG changeset patch # User jwe # Date 1196788659 0 # Node ID ffca9912dc82ec42f24a4f41eff4608f50c942ea # Parent b689a67dbe884f09e4e5178413b8be9b8dcd94d2 [project @ 2007-12-04 17:17:39 by jwe] diff -r b689a67dbe88 -r ffca9912dc82 scripts/ChangeLog --- a/scripts/ChangeLog Tue Dec 04 16:51:32 2007 +0000 +++ b/scripts/ChangeLog Tue Dec 04 17:17:39 2007 +0000 @@ -1,3 +1,8 @@ +2007-12-04 John W. Eaton + + * linear-algebra/krylov.m: Doc fixes. + From Marco Caliari . + 2007-12-03 John W. Eaton * contour.m, contour3.m, contourc.m, contourf.m, cylinder.m, diff -r b689a67dbe88 -r ffca9912dc82 scripts/linear-algebra/krylov.m --- a/scripts/linear-algebra/krylov.m Tue Dec 04 16:51:32 2007 +0000 +++ b/scripts/linear-algebra/krylov.m Tue Dec 04 17:17:39 2007 +0000 @@ -29,7 +29,14 @@ ## Using Householder reflections to guard against loss of orthogonality. ## ## If @var{v} is a vector, then @var{h} contains the Hessenberg matrix -## such that @code{a*u == u*h}. Otherwise, @var{h} is meaningless. +## such that @code{a*u == u*h+rk*ek'}, in which @code{rk = +## a*u(:,k)-u*h(:,k)}, and @code{ek'} is the vector +## @code{[0, 0, @dots{}, 1]} of length @code{k}. Otherwise, @var{h} is +## meaningless. +## +## If @var{v} is a vector and @var{k} is greater than +## @code{length(A)-1}, then @var{h} contains the Hessenberg matrix such +## that @code{a*u == u*h}. ## ## The value of @var{nu} is the dimension of the span of the krylov ## subspace (based on @var{eps1}).