9.222. RESHAPE
9.222 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 an array of the same type as SOURCE. 登录查看完整内容