row_shift

Shift the vector elements or the matrix rows circularly.

Arguments

  1. Vector or matrix
  2. Number of shifting positions, integer value.

Output

Vector or matrix

Examples

row_shift