previous up next print clean
Next: STRUCTURE Up: FORTRAN90 BASICS Previous: Modules

Intrinsics

Of more superficial value than modules and structures, but beneficial for their clarifying effect on code, are a number of array intrinsic functions introduced in Fortran90. Things like transpose, matrix multiplication, dot product, etc. are predefined as functions. Of course, these are all easy to code and forget as short subroutines in any language, but they are beneficial in this form nonetheless, because they are (in general, but dependent on the compiler) coded in assembler and very efficient, and because they are very clear and generally lead to code with fewer subroutine calls, arguments passed, and so forth.


previous up next print clean
Next: STRUCTURE Up: FORTRAN90 BASICS Previous: Modules
Stanford Exploration Project
11/12/1997