This fourth Edition presents new examples on submodules, derived type i/o, object oriented programming, abstract interfaces and procedure pointers, C interop, sorting and searching, statistics and converting to more modern versions of Fortran.
Key Features
Highlights the core language features of modern Fortran including data typing, array processing, control structures, functions, subroutines, modules and submodules, user defined types, pointers, operator overloading, generic programming, parallel programming, abstract interfaces, procedure pointers
Pinpoints common problems that occur when programming
Illustrates the use of several compilers
Introduction to Programming with Fortran has been written for the complete beginner with little or no programming background as well as existing Fortran programmers and those with programming experience in other languages
Overview.- Introduction to Problem Solving.- Introduction to Programming Languages.- Introduction to Programming.- Arithmetic.- Arrays 1: Some Fundamentals.- Arrays 2: Further Examples.- Whole Array and Additional Array Features.- Output of Results.- Reading in Data.- Summary of I/O Concepts.- Functions.- Control Structures and Execution Control.- Characters.- Complex.- Logical.- Introduction to Derived Types.- An Introduction to Pointers.- Introduction to Subroutines.- Subroutines: 2.- Modules.- Data structuring in Fortran.- An Introduction to Algorithms and the Big O Notation.- Operator Overloading.- Generic Programming.- Mathematical and Numerical Examples.- Parameterised Derived Types (PDTs) in Fortran.- Introduction to Object Oriented Programming.- Additional Object Oriented Examples.- Introduction to Submodules.- Introduction to Parallel Programming.- MPI - Message Passing Interface.- OpenMP.- Coarray Fortran.- C Interop.- IEEE Aril£&