Mercurial > octave
changeset 30707:ebda4b3a0482 stable
doc: correct typo/grammar in find docstring
author | Nicholas R. Jankowski <jankowski.nicholas@gmail.com> |
---|---|
date | Thu, 03 Feb 2022 12:21:16 -0500 |
parents | 6fff5d9291ce |
children | 17a558588b8f |
files | libinterp/corefcn/find.cc |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/find.cc Thu Feb 03 09:08:39 2022 -0500 +++ b/libinterp/corefcn/find.cc Thu Feb 03 12:21:16 2022 -0500 @@ -377,9 +377,9 @@ @end group @end example -If @var{x} is multidimensional array of size m x n x p x @dots{}, @var{j} is -the column location as if @var{x} was flattened into a two-dimensional matrix -of size m x (n + p + @dots{}). +If @var{x} is a multidimensional array of size m x n x p x @dots{}, @var{j} +contains the column locations as if @var{x} was flattened into a +two-dimensional matrix of size m x (n + p + @dots{}). Note that this function is particularly useful for sparse matrices, as it extracts the nonzero elements as vectors, which can then be used to