/usr/share/freemat/help/text/shiftdim.mdc is in freemat-help 4.0-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | SHIFTDIM SHIFTDIM Shift Array Dimensions Function
Usage
The shiftdim function is used to shift the dimensions of an array.
The general syntax for the shiftdim function is
y = shiftdim(x,n)
where x is a multidimensional array, and n is an integer. If
n is a positive integer, then shiftdim circularly shifts the
dimensions of x to the left, wrapping the dimensions around as
necessary. If n is a negative integer, then shiftdim shifts
the dimensions of x to the right, introducing singleton dimensions
as necessary. In its second form:
[y,n] = shiftdim(x)
the shiftdim function will shift away (to the left) the leading
singleton dimensions of x until the leading dimension is not
a singleton dimension (recall that a singleton dimension p is one for
which size(x,p) == 1).
|