Basic HTML version of Foils prepared August 7 98

Foil 10 Fortran 90/95 Intrinsics

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


Elemental intrinsics
  • Most familiar intrinsics can be applied to arrays
  • E.g., SQRT(A(1:100)) computes 100 square roots
Transformational intrinsics
  • Reductions combine elements in an array (or along one dimension at a time)
  • E.g., SUM(A) adds up the elements in A
  • Data movement operations perform structured transformations
  • E.g. TRANSPOSE(A) transposes A (2-D only)
Array query intrinsics
  • Useful for assumed-shape arrays
  • E.g., SIZE(A,1) gives the extent of A in the first dimension



© 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