Navigation

Operators and Keywords

Function List:

C++ API

: shift (x, b)
: shift (x, b, dim)

If x is a vector, perform a circular shift of length b of the elements of x.

If x is a matrix, do the same for each column of x.

If the optional dim argument is given, operate along this dimension.

Package: octave