Reshape r←x⍴y

x must be a vector of integers. Either all elements are natural, or exactly one of them is ¯1 and all others are natural.

r is the elements of y reshaped to the shape defined by x:

Fails if y is empty and x describes a nonempty shape.