Basic HTML version of Foils prepared August 7 98

Foil 8 Fortran 90/95 Array Operations

From DoD HPF Training -- 2. Fortran90 DoD Training and Others -- 1995-98. by Chuck Koelbel -- Rice University


Whole arrays and array subsections can be used in many operations formerly limited to scalar values.
  • Array arithmetic and assignment
  • WHERE (conditional assignment)
  • Vector subscripts
  • Subroutine arguments and return values
Subsections specified by triplet notation
  • A( lb : ub : step )
  • Defaults for missing lb, ub, or step
Array constructors to produce array-valued constants (with implied DO)



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Aug 9 1998