Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

2D arrays

rus_nur
Beginner
522 Views
I need to describe 2D arrays (2X4), and initialize it as a constant.
0 Kudos
1 Reply
Jugoslav_Dujic
Valued Contributor II
522 Views
INTEGER, PARAMETER::    iHStatus(4,2)=(/2,2,1,1,   &
4,3,4,3/)

gives [pre][2 4
2 3
1 4
1 3][/pre]i.e. "scanning" runs column-wise.

Jugoslav


0 Kudos
Reply