Download A Programmer's Guide to Fortran 90 by Walter S. Brainerd PDF

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.

Show description

Read Online or Download A Programmer's Guide to Fortran 90 PDF

Best compilers books

Quantifiers in Action: Generalized Quantification in Query, Logical and Natural Languages

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® Hardware Description Language

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.

JavaScript Frameworks for Modern Web Dev

JavaScript Frameworks for contemporary net Dev is your consultant to the wild, large, and untamed frontier that's JavaScript improvement. The JavaScript tooling panorama has grown and matured vastly some time past numerous years. This ebook will function an advent to either new and good proven libraries, frameworks, and utilities that experience won well known traction and aid from pro builders.

NASA Formal Methods: 8th International Symposium, NFM 2016, Minneapolis, MN, USA, June 7-9, 2016, Proceedings

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.

Additional resources for A Programmer's Guide to Fortran 90

Example text

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.

Download PDF sample

Rated 4.01 of 5 – based on 16 votes