Realize an array which the second dimension depends on the first argument
Suppose I have an array A[a,b]. The dimension of a is 2. When a=1, the dimension of b is 3; when a=2, the dimension of b is 6. Is there any method to define such an array in Fortran? or I need other type of data structure?
from Recent Questions - Stack Overflow https://ift.tt/3vlSWkV
https://ift.tt/eA8V8J
Comments
Post a Comment