Deklaration mit beliebiger unterer Grenze
REAL, DIMENSION(11, 11) :: A, B ! Indizes wie ueblich ab 1 REAL, DIMENSION(-5:5, -5:5) :: C ! oder aber beliebig REAL, DIMENSION(121) :: D
punktweise Operationen
A = 27.18 ! elementweise B = 3.1*A*A + 42.28 + SIN(B) ! ditto C = B ! shape conformance D = B ! VERBOTEN !!!
Array-Sections
A(2:11:3, 3:11:2) = 0.0 ! 4x5 Array D(:11) = C(:, 3) ! 1-dim. Schnitt A(2:4, 2:4) = A(1:3, 1:3) ! erst komplett rechte Seite