Mercurial > octave
changeset 24554:cd42d0f341db
maint: Merge stable to default.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 07 Jan 2018 21:40:34 -0800 |
parents | 48830eeb348b (current diff) 6e81c8a5add7 (diff) |
children | 0645853d12d6 |
files | doc/interpreter/diagperm.txi |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/interpreter/diagperm.txi Sun Jan 07 21:20:02 2018 -0800 +++ b/doc/interpreter/diagperm.txi Sun Jan 07 21:40:34 2018 -0800 @@ -275,7 +275,7 @@ then @code{D*M} is equivalent to @example -[D(1:n,n) * M; zeros(m-n, columns (M))], +[D(1:n,:) * M; zeros(m-n, columns (M))], @end example @noindent @@ -447,7 +447,7 @@ @example @group [L, U, P] = lu (A); ## now L*U = P*A - x = U \ L \ P*b; + x = U \ (L \ P) * b; @end group @end example @@ -526,7 +526,7 @@ The primary distinction is that an assumed zero, when multiplied by any number, or divided by any nonzero number, -yields *always* a zero, even when, e.g., multiplied by @code{Inf} +yields @strong{always} a zero, even when, e.g., multiplied by @code{Inf} or divided by @code{NaN}. The reason for this behavior is that the numerical multiplication is not actually performed anywhere by the underlying algorithm; the result is