1
Front Matter
5 chapters2
Part I: Foundations
8 chapters- Part I: Foundations
- Chapter 1: Why Fortran? The Language That Refuses to Die
- Chapter 2: Setting Up
- Chapter 3: Variables, Types, and Arithmetic — How Fortran Thinks About Numbers
- Chapter 4: Control Flow — IF, SELECT CASE, DO Loops, and Making Decisions
- Chapter 5: Arrays — Fortran's Superpower
- Chapter 6: Procedures — Subroutines, Functions, and Organizing Your Code
- Chapter 7: I/O — Reading Data, Writing Results, and Formatted Output
3
Part II: Modern Fortran Features
7 chapters- Part II: Modern Fortran Features
- Chapter 8: Modules — The Foundation of Modern Fortran Program Organization
- Chapter 9: Derived Types — Building Your Own Data Structures
- Chapter 10: Object-Oriented Fortran — Classes, Inheritance, and Polymorphism
- Chapter 11: Pointers, Targets, and Dynamic Data Structures
- Chapter 12: String Handling, Characters, and Modern Text Processing
- Chapter 13: Error Handling, Debugging, and Defensive Programming
4
Part III: Interoperability and Ecosystem
4 chapters5
Part IV: Legacy Fortran
4 chapters6
Part V: Numerical Methods in Fortran
6 chapters- Part V: Numerical Methods in Fortran
- Chapter 20: Floating-Point Arithmetic — Precision, Rounding, and Why 0.1 + 0.2 ≠ 0.3
- Chapter 21: Linear Algebra: Solving Ax=b, Matrix Operations, and Using LAPACK
- Chapter 22: Numerical Integration and Differentiation
- Chapter 23: Ordinary Differential Equations — Euler, Runge-Kutta, and Simulating Change
- Chapter 24: Partial Differential Equations — Finite Differences for Heat, Wave, and Flow
7
Part VI: File I/O and Data Management
3 chapters8
Part VII: Performance
5 chapters- Part VII: Performance
- Chapter 27: Why Fortran Is Fast — Compiler Optimization, Memory Layout, and the No-Aliasing Advantage
- Chapter 28: Profiling and Benchmarking — Finding the Bottleneck Before Optimizing
- Chapter 29: Optimization Techniques — Loop Optimization, SIMD, and Cache-Friendly Code
- Chapter 30: Compiler Flags and Platform-Specific Optimization
9
Part VIII: Parallel Programming
6 chapters- Part VIII: Parallel Programming
- Chapter 31: Why Parallel? Modern Hardware, Amdahl's Law, and the End of the Free Lunch
- Chapter 32: Coarrays — Fortran's Built-In Parallel Programming Model
- Chapter 33: OpenMP — Shared-Memory Parallelism with Compiler Directives
- Chapter 34: MPI — Distributed-Memory Parallelism for Cluster Computing
- Chapter 35: GPU Computing — OpenACC and CUDA Fortran for Graphics Processors
10
Part IX: Real-World Fortran
4 chapters11
Part X: The Fortran Future
3 chapters12
Appendices
14 chapters- Appendix A: Modern Fortran Syntax Reference
- Appendix B: Intrinsic Procedures Reference
- Appendix C: gfortran Setup and Compiler Flags
- Appendix D: Mathematics Refresher
- Appendix E: FORTRAN 77 to Modern Fortran — Translation Reference
- Appendix F: I/O and Format Reference
- Appendix G: Parallel Programming Reference
- Appendix H: Libraries and Tools Reference
- Appendix I: The Complete Heat-Solver Code
- Appendix J: A Fortran Timeline and Resource Guide
- Answers to Selected Exercises
- Glossary
- Bibliography
- Index
13
Instructor Guide
5 chapters14
Instructor Guide: Chapter Notes
40 chapters- Chapter 1 — Teaching Notes
- Chapter 2 — Teaching Notes
- Chapter 3 — Teaching Notes
- Chapter 4 — Teaching Notes
- Chapter 5 — Teaching Notes
- Chapter 6 — Teaching Notes
- Chapter 7 — Teaching Notes
- Chapter 8 — Teaching Notes
- Chapter 9 — Teaching Notes
- Chapter 10 — Teaching Notes
- Chapter 11 — Teaching Notes
- Chapter 12 — Teaching Notes
- Chapter 13 — Teaching Notes
- Chapter 14 — Teaching Notes
- Chapter 15 — Teaching Notes
- Chapter 16 — Teaching Notes
- Chapter 17 — Teaching Notes
- Chapter 18 — Teaching Notes
- Chapter 19 — Teaching Notes
- Chapter 20 — Teaching Notes
- Chapter 21 — Teaching Notes
- Chapter 22 — Teaching Notes
- Chapter 23 — Instructor Notes: Ordinary Differential Equations
- Chapter 24 — Instructor Notes
- Chapter 25 — Teaching Notes
- Chapter 26 — Teaching Notes
- Chapter 27 — Teaching Notes
- Chapter 28 — Instructor Notes
- Chapter 29 — Instructor Notes
- Chapter 30 — Instructor Notes
- Chapter 31 — Teaching Notes
- Chapter 32 — Teaching Notes
- Chapter 33 — Teaching Notes
- Chapter 34 — Teaching Notes
- Chapter 35 — Teaching Notes
- Chapter 36 — Teaching Notes
- Chapter 37 — Instructor Notes
- Chapter 38 — Teaching Notes
- Chapter 39 — Teaching Notes
- Chapter 40 — Teaching Notes
15
Instructor Guide: Discussion Guides
40 chapters- Ch01 Discussion
- Ch02 Discussion
- Ch03 Discussion
- Ch04 Discussion
- Ch05 Discussion
- Ch06 Discussion
- Ch07 Discussion
- Ch08 Discussion
- Ch09 Discussion
- Ch10 Discussion
- Ch11 Discussion
- Ch12 Discussion
- Ch13 Discussion
- Ch14 Discussion
- Ch15 Discussion
- Ch16 Discussion
- Ch17 Discussion
- Ch18 Discussion
- Ch19 Discussion
- Ch20 Discussion
- Ch21 Discussion
- Ch22 Discussion
- Ch23 Discussion
- Ch24 Discussion
- Ch25 Discussion
- Ch26 Discussion
- Ch27 Discussion
- Ch28 Discussion
- Ch29 Discussion
- Ch30 Discussion
- Ch31 Discussion
- Ch32 Discussion
- Ch33 Discussion
- Ch34 Discussion
- Ch35 Discussion
- Ch36 Discussion
- Ch37 Discussion
- Ch38 Discussion
- Ch39 Discussion
- Ch40 Discussion
16
Instructor Guide: Assessment
8 chaptersExplore Related Books
More open-access textbooks from our library
Advanced COBOL 40 chapters · ~67h Advanced Data Science 39 chapters · ~57h AI Ethics 39 chapters · ~82h AI Literacy 21 chapters · ~27h AI & ML for Business 40 chapters · ~80h AI Engineering 40 chapters · ~53h Algorithmic Addiction 40 chapters · ~71h American Government 40 chapters · ~77h Applied Psychology 40 chapters · ~52h Assembly Language 40 chapters · ~27h Blockchain & Crypto 40 chapters · ~68h Calculus 40 chapters · ~51h Automotive Sales 40 chapters · ~73h College Football Analytics 28 chapters · ~18h Creator Economy 41 chapters · ~57h Pattern Recognition 43 chapters · ~92h Cybersecurity 40 chapters · ~84h Digital Forensics 40 chapters · ~69h Data & Society 40 chapters · ~72h Data Viz with Python 35 chapters · ~52h Discrete Mathematics 40 chapters · ~75h Ethical Hacking 41 chapters · ~58h Fandom 44 chapters · ~70h Forensic Science 40 chapters · ~74h Grant Writing 35 chapters · ~36h History of Appalachia 42 chapters · ~69h How Humans Get Stuck 40 chapters · ~36h Handling Confrontation 40 chapters · ~80h How to Learn Anything 38 chapters · ~54h How Your House Works 40 chapters · ~66h IBM DB2 37 chapters · ~53h Insurance Underwriting 40 chapters · ~71h Intermediate COBOL 54 chapters · ~44h Intermediate Data Science 36 chapters · ~39h Intro CS Python 27 chapters · ~28h Intro to Data Science 36 chapters · ~55h Introductory Economics 40 chapters · ~28h Introductory Statistics 28 chapters · ~48h Learning COBOL 42 chapters · ~64h Prediction Markets 42 chapters · ~60h Linear Algebra 40 chapters · ~60h Metacognition 28 chapters · ~52h Media Literacy 41 chapters · ~80h Music Production 40 chapters · ~84h NFL Analytics 28 chapters · ~16h Nuclear Physics 35 chapters · ~60h Organic Chemistry 40 chapters · ~43h Pascal Programming 40 chapters · ~43h Photography 40 chapters · ~85h Physics of Music 48 chapters · ~75h Political Analytics 41 chapters · ~67h Popular Psychology 40 chapters · ~21h Practical Philosophy 38 chapters · ~63h Basketball Analytics 31 chapters · ~30h Soccer Analytics 30 chapters · ~43h Propaganda 40 chapters · ~80h Python for Business 40 chapters · ~40h Quantum Computing 34 chapters · ~34h Quantum Mechanics 40 chapters · ~66h RegTech 40 chapters · ~59h Restaurant Management 40 chapters · ~127h Rocket Science 40 chapters · ~65h The Science of Cooking 40 chapters · ~70h Science of Seduction 45 chapters · ~60h SEO Strategy 40 chapters · ~64h Sports Betting 42 chapters · ~63h Database Fundamentals 40 chapters · ~34h Technical Writing 40 chapters · ~70h Architecture of Surveillance 40 chapters · ~54h Science of Luck 40 chapters · ~72h Eastern Cultures 40 chapters · ~47h Understanding Peptides 44 chapters · ~95h Western Culture 40 chapters · ~30h Vibe Coding 42 chapters · ~58h Video Game Design 40 chapters · ~77h Video Production 40 chapters · ~94h Why They Watch 40 chapters · ~48h Working with AI 42 chapters · ~58h