The instruction p pB yields the rank (shape of the shape, or, number of coordinates)
of B:
i:: A
W
B A R
Dyadic (Two-Argument) Form: Reshape (Structure) AD B
The reshape function forms an array of the shape specified by argument A using
element(s1 from argument B. The elements of argument B are placed into the
array in row order. If there are not enough elements in argument B to fill the
array, the elements are repeated. If there are more elements in argument B than
are required to fill the array, only the required number of elements are used.
Argument A must be a positive integer or vector of positive integers. The number
of elements in argument A is equal to the number of coordinates, or the rank, of
the result. Argument B can be any variable or constant. If all of the elements of
argument A are nonzero, then B cannot be an empty array:
76
___-
I I
of B:
i:: A
W
B A R
Dyadic (Two-Argument) Form: Reshape (Structure) AD B
The reshape function forms an array of the shape specified by argument A using
element(s1 from argument B. The elements of argument B are placed into the
array in row order. If there are not enough elements in argument B to fill the
array, the elements are repeated. If there are more elements in argument B than
are required to fill the array, only the required number of elements are used.
Argument A must be a positive integer or vector of positive integers. The number
of elements in argument A is equal to the number of coordinates, or the rank, of
the result. Argument B can be any variable or constant. If all of the elements of
argument A are nonzero, then B cannot be an empty array:
76
___-
I I