Mercurial > octave-nkf
diff src/DLD-FUNCTIONS/balance.cc @ 12108:d82388277620 release-3-2-x
fix bug in balance
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 25 Nov 2009 12:05:09 +0100 |
parents | 16f53d29049f |
children | 40dfc0c99116 |
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/balance.cc Wed Nov 25 12:05:03 2009 +0100 +++ b/src/DLD-FUNCTIONS/balance.cc Wed Nov 25 12:05:09 2009 +0100 @@ -63,7 +63,7 @@ \n\ If two output values are requested, @code{balance} returns \n\ the diagonal @code{d} and the permutation @code{p} separately as vectors. \n\ -In this case, @code{dd = eye(n)(p,:) * diag (d)}, where @code{n} is the matrix \n\ +In this case, @code{dd = eye(n)(:,p) * diag (d)}, where @code{n} is the matrix \n\ size. \n\ \n\ If four output values are requested, compute @code{aa = cc*a*dd} and\n\