By Walter S. Brainerd
A primary useful consultant to Fortran ninety via contributors of the X3J3 Committee. this can be a educational on Fortran ninety for programmers and engineers and scientists who paintings with Fortran seventy seven and wish to profit the seriously revised criteria supplied for in Fortran ninety. coated during this consultant to programming languages are easy ideas, uncomplicated programming workouts, quite a few examples and difficulties. Written through 4 senior contributors of the ANSI Fortran criteria Committee X3J3, this ebook serves as a short resource of knowledge for working towards pros.
Read Online or Download A Programmer's Guide to Fortran 90 PDF
Best compilers books
The database is a multi-billion, world-wide, all-encompassing a part of the software program international. Quantifiers in motion: Generalized Quantification in question, Logical and common Languages introduces a question language known as GQs―Generalized Quantification in question. such a lot question languages are easily models of First Order common sense (FOL).
The Verilog language is a description language which supplies a way of specifying a electronic procedure at quite a lot of degrees of abstraction. The language helps the early conceptual levels of layout with its behavioral point of abstraction, and the later implementation phases with its structural point of abstraction.
This e-book constitutes the court cases of the eighth foreign Symposium on NASA Formal equipment, NFM 2016, held in Minneapolis, MN, united states, in June 2016. the nineteen complete and 10 brief papers provided during this quantity have been rigorously reviewed and chosen from 70 submissions. The papers have been equipped in topical sections named: requisites and architectures; trying out and run-time enforcement; theorem proving and proofs; software of formal tools; code new release and synthesis; version checking and verification; and correctness and certification.
- Reachability Problems: 8th International Workshop, RP 2014, Oxford, UK, September 22-24, 2014. Proceedings
- Programming Multi-Agent Systems: Third International Workshop, ProMAS 2005, Utrecht, The Netherlands, July 26, 2005, Revised and Invited Papers
- Programming in Prolog, using the ISO standard
- A Beginner's Guide to Scala, Object Orientation and Functional Programming
- The Verilog® Hardware Description Language
- Ada 2005 Reference Manual. Language and Standard Libraries: International Standard ISO/IEC 8652/1995 (E) with Technical Corrigendum 1 and Amendment 1
Additional resources for A Programmer's Guide to Fortran 90
Here loga is a dummy array argument, and SIZE is an intrinsic function which returns a scalar default integer corresponding to the size of the array loga: LOGICAL, DIMENSION(SIZE(loga)) :: logb 3. Declaration of 2D dynamic (allocatable) arrays a and b. The shape would be defined in a subsequent ALLOCATE statement: REAL, DIMENSION (:,:), ALLOCATABLE :: a,b 42 Fortran 90 Student Notes Array Processing 4. Declaration of 3D assumed shape arrays a and b. 2 Whole Array Operations In Fortran 77 it was not possible to work with whole arrays, instead each element of an array had to be operated on separately, often requiring the use of nested DO-loops.
5 Array Sections A subarray, called a section, of an array may be referenced by specifying a range of subscripts. An array section can be used in the same way as an array, but it is not possible to reference the individual elements belonging to the section directly. Array sections can be extracted using either: • A simple subscript. • A subscript triplet. • A vector subscript. 1 Simple Subscripts A simple subscript extracts a single array element. 2 Subscript Triplets The form of a subscript triplet is: [lower bound]:[upper bound][:stride] If either the lower bound or upper bound is omitted, then the bound of the array from which the array section is extracted is assumed, and if stride is omitted the default stride=1 is used.
Error processing code ... end if ... END PROGRAM array SUBROUTINE sub(a,n,n1,res,work) Manchester and North HPC T&EC 53 Fortran 90 INTEGER n,n1 REAL a(n,n1) REAL work(n1,n1) REAL res ... ) ... END SUBROUTINE sub Note the use of a work array, which is passed as an argument, in the above example. The use of temporary work arrays is frequently necessary, particularly in numerical analysis. In Fortran 77, this presented serious problems for providers of subroutine libraries, who had to resort to requiring the calling sequence to include the work arrays along with the genuine parameters.