Mercurial > hg > octave-lyh
comparison scripts/general/accumarray.m @ 13931:9de488c6c59c
doc: Spellcheck documentation before 3.6.0 release
* aspell-octave.en.pws: Add new words to dictionary.
* debug.txi, plot.txi, accumarray.m, krylov.m, sqp.m, pkg.m, fftshift.m,
bicg.m, binornd.m, str2num.m: Correct misspellings or add @nospell macro.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Wed, 23 Nov 2011 09:42:50 -0800 |
parents | 9cae456085c2 |
children | 5b49cafe0599 |
comparison
equal
deleted
inserted
replaced
13930:fe088cef3503 | 13931:9de488c6c59c |
---|---|
41 ## that accepts a column vector and returns a scalar. The result of the | 41 ## that accepts a column vector and returns a scalar. The result of the |
42 ## function should not depend on the order of the subscripts. | 42 ## function should not depend on the order of the subscripts. |
43 ## | 43 ## |
44 ## The elements of the returned array that have no subscripts associated | 44 ## The elements of the returned array that have no subscripts associated |
45 ## with them are set to zero. Defining @var{fillval} to some other value | 45 ## with them are set to zero. Defining @var{fillval} to some other value |
46 ## allows these values to be defined. This behaviour changes, however, | 46 ## allows these values to be defined. This behavior changes, however, |
47 ## for certain values of @var{func}. If @var{func} is @code{min} | 47 ## for certain values of @var{func}. If @var{func} is @code{min} |
48 ## (respectively, @code{max}) then the result will be filled with the | 48 ## (respectively, @code{max}) then the result will be filled with the |
49 ## minimum (respectively, maximum) integer if @var{vals} is of integral | 49 ## minimum (respectively, maximum) integer if @var{vals} is of integral |
50 ## type, logical false (respectively, logical true) if @var{vals} is of | 50 ## type, logical false (respectively, logical true) if @var{vals} is of |
51 ## logical type, zero if @var{fillval} is zero and all values are | 51 ## logical type, zero if @var{fillval} is zero and all values are |
52 ## nonpositive (respectively, non-negative), and NaN otherwise. | 52 ## non-positive (respectively, non-negative), and NaN otherwise. |
53 ## | 53 ## |
54 ## By default @code{accumarray} returns a full matrix. If | 54 ## By default @code{accumarray} returns a full matrix. If |
55 ## @var{issparse} is logically true, then a sparse matrix is returned | 55 ## @var{issparse} is logically true, then a sparse matrix is returned |
56 ## instead. | 56 ## instead. |
57 ## | 57 ## |