Über den Autor
Dr Joe Pitt-Francis is a Senior Research Fellow at the Department of Computer Science and teaches Computer Science at Exeter College, the University of Oxford, UK.
Dr Jonathan Whiteley is a University Lecturer at the Department of Computer Science and Governing Body Fellow of Linacre College, the University of Oxford, UK.
Flow of Control
File Input and Output
Blocks, Functions and Reference Variables
An Introduction to Classes
Inheritance and Derived Classes
Errors and Exceptions
Developing Classes for Linear Algebra Calculations
An Introduction to Parallel Programming Using MPI
Designing Object-Oriented Numerical Libraries
Other Programming Constructs You Might Meet
Solutions to Exercises
This easy-to-read textbook/reference presents an essential guide to object-oriented C++ programming for scientific computing. With a practical focus on learning by example, the theory is supported by numerous exercises. Features: provides a specific focus on the application of C++ to scientific computing, including parallel computing using MPI; stresses the importance of a clear programming style to minimize the introduction of errors into code; presents a practical introduction to procedural programming in C++, covering variables, flow of control, input and output, pointers, functions, and reference variables; exhibits the efficacy of classes, highlighting the main features of object-orientation; examines more advanced C++ features, such as templates and exceptions; supplies useful tips and examples throughout the text, together with chapter-ending exercises, and code available to download from Springer.
With an emphasis on the modularity of C++ programming
Includes an introduction to parallel programming using MPI
Covers the object-oriented design of a numerical library for solving differential equations
Provides numerous examples, chapter-ending exercises, and code available to download