Mercurial > hg > octave-nkf
comparison scripts/general/shiftdim.m @ 12575:d0b799dafede
Grammarcheck files for 3.4.1 release.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Mon, 04 Apr 2011 15:33:46 -0700 |
parents | fd0a3ac60b0e |
children | 4d777e05d47c |
comparison
equal
deleted
inserted
replaced
12574:89604fa96d2f | 12575:d0b799dafede |
---|---|
17 ## <http://www.gnu.org/licenses/>. | 17 ## <http://www.gnu.org/licenses/>. |
18 | 18 |
19 ## -*- texinfo -*- | 19 ## -*- texinfo -*- |
20 ## @deftypefn {Function File} {@var{y} =} shiftdim (@var{x}, @var{n}) | 20 ## @deftypefn {Function File} {@var{y} =} shiftdim (@var{x}, @var{n}) |
21 ## @deftypefnx {Function File} {[@var{y}, @var{ns}] =} shiftdim (@var{x}) | 21 ## @deftypefnx {Function File} {[@var{y}, @var{ns}] =} shiftdim (@var{x}) |
22 ## Shifts the dimension of @var{x} by @var{n}, where @var{n} must be | 22 ## Shift the dimension of @var{x} by @var{n}, where @var{n} must be |
23 ## an integer scalar. When @var{n} is positive, the dimensions of | 23 ## an integer scalar. When @var{n} is positive, the dimensions of |
24 ## @var{x} are shifted to the left, with the leading dimensions | 24 ## @var{x} are shifted to the left, with the leading dimensions |
25 ## circulated to the end. If @var{n} is negative, then the dimensions | 25 ## circulated to the end. If @var{n} is negative, then the dimensions |
26 ## of @var{x} are shifted to the right, with @var{n} leading singleton | 26 ## of @var{x} are shifted to the right, with @var{n} leading singleton |
27 ## dimensions added. | 27 ## dimensions added. |