`array`: Shall be a 2D array of `integer`, `real`, or `complex` type. It is an `intent(in)` argument.
329
329
330
-
`unit`: Shall be an integer containing the output unit. It is an `intent(in)` argument. The default is `6` (standard output).
330
+
`unit`: Shall be an integer containing the output unit. It is an `intent(in)` argument. The default is the intrinsic `output_unit` provided by `iso_fortran_env`.
331
331
332
332
`fmt`: Shall be a character string containing the format for printing the array. It is an `intent(in)` argument. The default is based on [the Formatting constants](#formatting-constants).
333
333
334
-
`delimiter`: Shall be a character string of length 1 containing the delimiter between array elements. It is an `intent(in)` argument. The default is a `" "` (space).
334
+
`delimiter`: Shall be a character string containing the delimiter between array elements. It is an `intent(in)` argument. The default is a `" "` (space).
335
335
336
-
`brief`: Shall be a logical flag. If `.true.`, the array is printed in a brief format. The default is `.true.`.
336
+
`brief`: Shall be a logical flag. The default is `.true.`. If `.true.`, the array is printed in a shortened/abridged version
337
+
that shows only the representative portions of large arrays, which is useful for gaining a glimpse of large arrays. Specifically:
338
+
+ For arrays with more than 5 rows or columns, it will display:
339
+
- First 3 rows and columns;
340
+
- Last row and column;
341
+
- Eilipsis (`...`) to indicate omitted elements.
342
+
+ For arrays with 5 rows or columns or less, it will display the entire array.
0 commit comments