Answer Question
Two dimensional Array with Dynamic number of rows in fortran
Hi,
Is it possible to create a two dimensional array with dynamic number of rows in fortran?
In matlab it is possible to add rows to an array using the following command:
varVals(end+1,:) = y;
where varVals is a two dimensional array and y is a 1 dimensional array.
Is there a similar way to add rows to an array in fortran?
Any help is much aapreciated.
Thanks and Regards,
Lakshmi.
Is it possible to create a two dimensional array with dynamic number of rows in fortran?
In matlab it is possible to add rows to an array using the following command:
varVals(end+1,:) = y;
where varVals is a two dimensional array and y is a 1 dimensional array.
Is there a similar way to add rows to an array in fortran?
Any help is much aapreciated.
Thanks and Regards,
Lakshmi.