| |
| |
Introduction to Computers and the Fortran Language | |
| |
| |
The Computer | |
| |
| |
Data Representation in a Computer | |
| |
| |
Computer Languages | |
| |
| |
The History of the Fortran Language | |
| |
| |
Basic Elements of Fortran | |
| |
| |
Introduction | |
| |
| |
The Fortran Character Set | |
| |
| |
The Structure of a Fortran Statement | |
| |
| |
The Structure of a Fortran Program | |
| |
| |
Constants and Variables | |
| |
| |
Assignment Statements and Arithmetic Calculations | |
| |
| |
Assignment Statements and Logical Calculations | |
| |
| |
Assignment Statements and Character Variables | |
| |
| |
Intrinsic Functions | |
| |
| |
List-Directed Input and Output Statements | |
| |
| |
Initialization of Variables | |
| |
| |
The Implicit None Statement | |
| |
| |
Program Examples | |
| |
| |
Debugging Fortran Programs | |
| |
| |
Control Structures and Program Design | |
| |
| |
Introduction to Top-Down Design Techniques | |
| |
| |
Pseudocode and Flowcharts | |
| |
| |
Control Constructs: Branches | |
| |
| |
Control Constructs: Loops | |
| |
| |
More on Debugging Fortran Programs | |
| |
| |
Basic I/O Concepts | |
| |
| |
Formats and Formatted Write Statements | |
| |
| |
Output Devices | |
| |
| |
Format Descriptors | |
| |
| |
Formatted Read Statements | |
| |
| |
An Introduction to Files and File Processing | |
| |
| |
Arrays | |
| |
| |
Declaring Arrays | |
| |
| |
Using Array Elements in Fortran Statements | |
| |
| |
Using Whole Arrays and Array Subsets in Fortran Statements | |
| |
| |
Input and Output | |
| |
| |
Examples | |
| |
| |
Two-Dimensional or Rank-2 Arrays | |
| |
| |
Multidimensional or Rank-n Arrays | |
| |
| |
Using Fortran Intrinsic Functions with Arrays | |
| |
| |
Masked Array Assignment: The Where Construct | |
| |
| |
When Should You Use an Array? | |
| |
| |
Procedures and Structured Programming | |
| |
| |
Subroutines | |
| |
| |
The Save Attribute and Statement | |
| |
| |
Automatic Arrays | |
| |
| |
Sharing Data Using Modules | |
| |
| |
Module Procedures | |
| |
| |
Fortran Functions | |
| |
| |
Passing Functions or Subroutines as Arguments to Procedures | |
| |
| |
Additional Data Types | |
| |
| |
Alternative Kinds of the Real Data Type | |
| |
| |
The Complex Data Type | |
| |
| |
Derived Data Types | |
| |
| |
Advanced Features of Procedures and Modules | |
| |
| |
Internal Procedures | |
| |
| |
Recursive Procedures | |
| |
| |
Keyword Arguments and Optional Arguments | |
| |
| |
Generic Procedures | |
| |
| |
Extending Fortran with User-Defined Operators and Assignments | |
| |
| |
Restricting Access to the Contents of a Module | |
| |
| |
Dynamic Memory Allocation and Pointers | |
| |
| |
Allocatable Arrays | |
| |
| |
Pointers | |
| |
| |
Appendixes | |
| |
| |
ASCII and EBCDIC Coding Systems | |
| |
| |
Fortran 90 / 95 Intrinsic Procedures | |
| |
| |
Order of Statements in a Fortran 90/95 Program | |
| |
| |
Summary of Format Descriptors and I/O Statements | |
| |
| |
Glossary | |
| |
| |
Answers to Quizzes | |
| |
| |
Index | |
| |
| |
A Quick Summary of Common Attributes Used in Type Declaration Statements | |