| Whither Fortran? | |
| Fortran history | |
| The drive for the Fortran 90 standard | |
| Language evolution | |
| Fortran 95 | |
| Beyond Fortran 95 | |
| Conformance | |
| Language elements | |
| Introduction | |
| Fortran character set | |
| Tokens | |
| Source form | |
| Concept of type | |
| Literal constants of intrinsic type | |
| Integer literal constants | |
| Real literal constants | |
| Complex literal constants | |
| Character literal constants | |
| Logical literal constants | |
| Names | |
| Scalar variables of intrinsic type | |
| Derived data types | |
| Arrays of intrinsic type | |
| Character substrings | |
| Objects and subobjects | |
| Pointers | |
| Summary | |
| Exercises | |
| Expressions and assignments | |
| Introduction | |
| Scalar numeric expressions | |
| Defined and undefined variables | |
| Scalar numeric assignment | |
| Scalar relational operators | |
| Scalar logical expressions and assignments | |
| Scalar character expressions and assignments | |
| Structure constructors and scalar defined operators | |
| Scalar defined assignments | |
| Array expressions | |
| Array assignment | |
| Pointers in expressions and assignments | |
| Summary | |
| Exercises | |
| Control constructs | |
| Introduction | |
| The go to statement | |
| The if statement and construct | |
| The if statement | |
| The if construct | |
| The case construct | |
| The do construct | |
| Summary | |
| Exercises | |
| Program units and procedures | |
| Introduction | |
| Main program | |
| The stop statement | |
| External subprograms | |
| Modules | |
| Internal subprograms | |
| Arguments of procedures | |
| Pointer arguments | |
| Restrictions on actual arguments | |
| Arguments with the target attribute | |
| The return statement | |
| Argument intent | |
| Functions | |
| Prohibited side-effects | |
| Explicit and implicit interfaces | |
| Procedures as arguments | |
| Keyword and optional arguments | |
| Scope of labels | |
| Scope of names | |
| Direct recursion | |
| Indirect recursion | |
| Overloading and generic interfaces | |
| Assumed character length | |
| The subroutine and function statements | |
| Summary | |
| Exercises | |
| Array features | |
| Introduction | |
| Zero-sized arrays | |
| Assumed-shape arrays | |
| Automatic objects | |
| Heap storage | |
| Allocatable arrays | |
| The allocate statement | |
| The deallocate statement | |
| The nullify statement | |
| Elemental operations and assignments | |
| Array-valued functions | |
| The where statement and construct | |
| Some where construct extensions (Fortran 95 only) | |
| The forall statement and construct (Fortran 95 only) | |
| Pure procedures (Fortran 95 only) | |
| Elemental procedures (Fortran 95 only) | |
| Array elements | |
| Array subobjects | |
| Arrays of pointers | |
| Pointers as aliases | |
| Array constructors | |
| Mask arrays | |
| Summary | |
| Exercises | |
| Specification statements | |
| Introduction | |
| Implicit typing | |
| Declaring entities of differing shapes | |
| Named constants and constant expressions | |
| Initial values for variables | |
| Initializing in type declaration statements | |
| The data statement | |
| Pointer initialization and the function null (Fortran 95 only) | |
| Default initialization of components (Fortran 95 only) | |
| The public and private attributes | |
| The pointer, target, and allocatable statements | |
| The intent and optional statements | |
| The save attribute | |
| The use statement | |
| Derived-type definitions | |
| The type declaration statement | |
| Type and type parameter specification | |
| Specification expressions | |
| Specification expression restrictions (Fortran 90 only) | |
| Specification functions (Fortran 95 only) | |
| The namelist statement | |
| Summary | |
| Exercises | |
| Intrinsic procedures | |
| Introduction | |
| Keyword calls | |
| Categories of instrinsic procedures | |
| The intrinsic statement | |
| Argument intents | |
| Inquiry functions for any type | |
| Elemental numeric functions | |
| Elemental functions that may convert | |
| Elemental functions that do not convert | |
| Elemental mathematical functions | |
| Elemental character | |
| Table of Contents provided by Publisher. All Rights Reserved. |