Mercurial > octave
changeset 28428:e9a12be5fd79 stable
don't document the vectorize function.
* vectorize.txi: Eliminate any discussion of the obsolete vectorize
function.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 23 Mar 2020 15:44:30 -0400 |
parents | 7a8c69c4eb55 |
children | 8eb8ba8aff9a |
files | doc/interpreter/vectorize.txi |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/interpreter/vectorize.txi Mon Mar 23 15:29:49 2020 -0400 +++ b/doc/interpreter/vectorize.txi Mon Mar 23 15:44:30 2020 -0400 @@ -130,11 +130,7 @@ which exploits the fact that @code{a > 5} produces a boolean index. Use elementwise vector operators whenever possible to avoid looping -(operators like @code{.*} and @code{.^}). @xref{Arithmetic Ops}. For -simple inline functions, the @code{vectorize} function can do this -automatically. - -@DOCSTRING(vectorize) +(operators like @code{.*} and @code{.^}). @xref{Arithmetic Ops}. Also exploit broadcasting in these elementwise operators both to avoid looping and unnecessary intermediate memory allocations.