Recent content by Yascho Bob
-
Y
F90 Subroutine that accepts any array of any dimension
Hi, I need to write a subroutine that accepts as an argument an array of any number of dimensions, where each dimensions has any size. The array is contiguously allocated. In C, I can do this pretty cleanly. void array_func(int ndims, int *dims, int *array) { // do stuff with...- Yascho Bob
- Thread
- Array Dimension Subroutine
- Replies: 6
- Forum: Programming and Computer Science