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.
For example, one array A looks like
[[1,2,3]
[4,5,6,7,8,9]]
it is combined from 1*3 and 1*6. In total 9 entries, not from input.
Is there any method to define such an array in Fortran? or I need other type of data structure?