Mercurial > octave-nkf
comparison src/DLD-FUNCTIONS/balance.cc @ 9064:7c02ec148a3c
Check grammar on all .cc files
Same check as previously done on .m files
Attempt to enforce some conformity in documentation text for rules
such as two spaces after a period, commas around latin abbreviations, etc.
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Sat, 28 Mar 2009 13:57:22 -0700 |
parents | 867d5d1aed06 |
children | 923c7cb7f13f |
comparison
equal
deleted
inserted
replaced
9063:a6cf0ad87eee | 9064:7c02ec148a3c |
---|---|
60 matrix and @code{d} is a diagonal matrix of powers of two. This allows\n\ | 60 matrix and @code{d} is a diagonal matrix of powers of two. This allows\n\ |
61 the equilibration to be computed without roundoff. Results of\n\ | 61 the equilibration to be computed without roundoff. Results of\n\ |
62 eigenvalue calculation are typically improved by balancing first.\n\ | 62 eigenvalue calculation are typically improved by balancing first.\n\ |
63 \n\ | 63 \n\ |
64 If two output values are requested, @code{balance} returns \n\ | 64 If two output values are requested, @code{balance} returns \n\ |
65 the diagonal @code{d} and the permutation @code{p} separately as vectors. \n\ | 65 the diagonal @code{d} and the permutation @code{p} separately as vectors. \n\ |
66 In this case, @code{dd = eye(n)(p,:) * diag (d)}, where @code{n} is the matrix \n\ | 66 In this case, @code{dd = eye(n)(p,:) * diag (d)}, where @code{n} is the matrix \n\ |
67 size. \n\ | 67 size. \n\ |
68 \n\ | 68 \n\ |
69 If four output values are requested, compute @code{aa = cc*a*dd} and\n\ | 69 If four output values are requested, compute @code{aa = cc*a*dd} and\n\ |
70 @code{bb = cc*b*dd)}, in which @code{aa} and @code{bb} have non-zero\n\ | 70 @code{bb = cc*b*dd)}, in which @code{aa} and @code{bb} have non-zero\n\ |
71 elements of approximately the same magnitude and @code{cc} and @code{dd}\n\ | 71 elements of approximately the same magnitude and @code{cc} and @code{dd}\n\ |
72 are permuted diagonal matrices as in @code{dd} for the algebraic\n\ | 72 are permuted diagonal matrices as in @code{dd} for the algebraic\n\ |