9.229. RESHAPE
9.229 RESHAPE — Function to reshape an array
- Description:
-
Reshapes SOURCE to correspond to SHAPE. If necessary, the new array may be padded with elements from PAD or permuted as defined by ORDER.
- Standard:
-
Fortran 95 and later
- Class:
-
Transformational function
- Syntax:
-
RESULT = RESHAPE(SOURCE, SHAPE[, PAD, ORDER])
- Arguments:
-
SOURCE Shall be an array of any type. SHAPE Shall be of type INTEGER
and an array of rank one. Its values must be positive or zero.PAD (Optional) shall be