Mercurial > octave-nkf
comparison scripts/general/circshift.m @ 6547:4fb053f24fd6
[project @ 2007-04-19 21:47:40 by jwe]
author | jwe |
---|---|
date | Thu, 19 Apr 2007 21:47:41 +0000 |
parents | 34f96dd5441b |
children | 9042b00fc45e |
comparison
equal
deleted
inserted
replaced
6546:44a4f68fbd76 | 6547:4fb053f24fd6 |
---|---|
16 ## along with Octave; see the file COPYING. If not, write to the Free | 16 ## along with Octave; see the file COPYING. If not, write to the Free |
17 ## Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | 17 ## Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
18 ## 02110-1301, USA. | 18 ## 02110-1301, USA. |
19 | 19 |
20 ## -*- texinfo -*- | 20 ## -*- texinfo -*- |
21 ## @deftypefn {Function File} {@var{y}} = circshift (@var{x}, @var{n}) | 21 ## @deftypefn {Function File} {@var{y} =} circshift (@var{x}, @var{n}) |
22 ## Circularly shifts the values of the array @var{x}. @var{n} must be | 22 ## Circularly shifts the values of the array @var{x}. @var{n} must be |
23 ## a vector of integers no longer than the number of dimensions in | 23 ## a vector of integers no longer than the number of dimensions in |
24 ## @var{x}. The values of @var{n} can be either positive or negative, | 24 ## @var{x}. The values of @var{n} can be either positive or negative, |
25 ## which determines the direction in which the values or @var{x} are | 25 ## which determines the direction in which the values or @var{x} are |
26 ## shifted. If an element of @var{n} is zero, then the corresponding | 26 ## shifted. If an element of @var{n} is zero, then the corresponding |