Example

If A = [1, 2, 3, 4, 5] then EOSHIFT(A, 2) (i.e. shifted to the left) gives
[3, 4, 5, 0, 0], and EOSHIFT(A, 2, 6) gives [6, 6, 1, 2,
3].
If A = then
EOSHIFT(A, 1, DIM=2) gives .
If S = [1, 0, 2] and B = [10, 0, 0] then
EOSHIFT(A, S, BOUNDARY=B, DIM=2) gives .
