Next: Array Inquiry Intrinsics
Up: Arrays
Previous: Array Sections
Given,
REAL, DIMENSION(1:6,1:8) :: P
Consider the following assignments,
- P(1:3,1:4) = P(::2,::2) and
P(1:3,1:4) = 1.0 are valid. - P(2::2,:7:3) = P(1:3,1:4) and
P(2::2,:7:3) = P(2:5,7) are
not. - P(2:5,7) is a 1D section whereas
P(2:5,7:7) is a 2D section
For more information, click here
Now try this question
Next: Array Inquiry Intrinsics
Up: Arrays
Previous: Array Sections
Adam Marshall ©University of Liverpool, 1996
Fri Dec 6 18:56:08 GMT 1996Not for commercial use.