To generalize the OP’s question, it would be nice if Fortran had a general capability to combine two arrays along a specified axis, similar to numpy.concatenate . I requested this for stdlib. Is this something that would be part of a Fortran library for the Mathematics of Arrays?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| MOVE_ALLOC to grow an array | 21 | 3704 | September 6, 2022 | |
| Implied-do array constructor, type specs, and differences between GFortran, Intel, and LFortran | 49 | 1601 | May 26, 2024 | |
| Arrays and lists | 46 | 2690 | October 5, 2023 | |
| Enhancements to allocatable arrays | 23 | 2035 | December 19, 2023 | |
| Do we need REALLOCATE? | 22 | 4822 | April 25, 2021 |