Mercurial > hg > octave-jordi
diff doc/interpreter/diagperm.txi @ 10846:a4f482e66b65
Grammarcheck more of the documentation.
Use @noindent macro appropriately.
Limit line length to 80 characters.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 01 Aug 2010 20:22:17 -0700 |
parents | 322f43e0e170 |
children | 746609dd54fd |
line wrap: on
line diff
--- a/doc/interpreter/diagperm.txi +++ b/doc/interpreter/diagperm.txi @@ -117,12 +117,14 @@ P = eye (n) (:, q); @end example +@noindent will create a permutation matrix - a special matrix object. @example eye (n) (q, :) @end example +@noindent will also work (and create a row permutation matrix), as well as @example @@ -246,6 +248,7 @@ D(:,1:m) * M(1:m,:), @end example +@noindent i.e., trailing @code{n-m} rows of @var{M} are ignored. If @code{m > n}, then @code{D*M} is equivalent to @@ -253,6 +256,7 @@ [D(1:n,n) * M; zeros(m-n, columns (M))], @end example +@noindent i.e., null rows are appended to the result. The situation for right-multiplication @code{M*D} is analogous. @@ -289,6 +293,7 @@ @end group @end example +@noindent again produce diagonal matrices, provided that normal dimension matching rules are obeyed. The relations used are same as described above. @@ -309,6 +314,7 @@ A = A + eps * eye (n) @end example +@noindent is an efficient method of augmenting the diagonal of a matrix. Subtraction works analogically.