Mercurial > octave
diff doc/interpreter/vectorize.txi @ 32489:a4506463f341 stable
doc: grammarcheck Octave manual before 9.1 release.
* doc/interpreter/func.txi, doc/interpreter/numbers.txi,
doc/interpreter/octave.texi, doc/interpreter/plot.txi,
doc/interpreter/sparse.txi, doc/interpreter/vectorize.txi,
scripts/miscellaneous/jupyter_notebook.m, scripts/plot/draw/stemleaf.m:
grammarcheck Octave manual before 9.1 release.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 23 Nov 2023 20:30:44 -0800 |
parents | ffc410f26506 |
children | 386d05bbae5a |
line wrap: on
line diff
--- a/doc/interpreter/vectorize.txi Thu Nov 23 19:42:27 2023 -0800 +++ b/doc/interpreter/vectorize.txi Thu Nov 23 20:30:44 2023 -0800 @@ -344,8 +344,8 @@ A special case of broadcasting that may be familiar is when all dimensions of the array being broadcast are 1, i.e., the array is a -scalar. Thus for example, operations like @code{x - 42} and @code{max -(x, 2)} are basic examples of broadcasting. +scalar. Thus, for example, operations like @code{x - 42} and +@code{max (x, 2)} are basic examples of broadcasting. For a higher-dimensional example, suppose @code{img} is an RGB image of size @code{[m n 3]} and we wish to multiply each color by a different