What is the use of Array storage order in FORTRAN?

What is the use of Array storage order in FORTRAN?



- FORTRAN uses the column wise storage that allows the transposing of the matrix before putting it in the FORTRAN routines.

- The output of the FORTRAN routine is again transposed to show the correct result, if the condition is ignored then it might result in generation of the wrong result.

- Transposition of the matrix or the array can be avoided as it takes more space and other sources can be adapted or using the information like: A(j+1,i+1).

- Transposition wrapper needs to be written in the cases where there no modification is allowed of the existing FORTRAN code.

- This brings more clarity in the sense that array code is stored in an ordered manner and provides more space for other data to be inserted.
Post your comment