Beschreibung:
This simple-to-follow textbook/reference provides an invaluable guide to object-oriented C++ programming for scientific computing. Through a series of clear and concise discussions, the key features most useful to the novice programmer are explored, enabling the reader to quickly master the basics and build the confidence to investigate less well-used features when needed. The text presents a hands-on approach that emphasizes the benefits of learning by example, stressing the importance of a clear programming style to minimise the introduction of errors into the code, and offering an extensive selection of practice exercises.
Getting Started.- Flow of Control.- File Input and Output.- Pointers.- Blocks, Functions and Reference Variables.- An Introduction to Classes.- Inheritance and Derived Classes.- Templates.- Errors, Exceptions and Testing.- Developing Classes for Linear Algebra Calculations.- An Introduction to Parallel Programming Using MPI.- Designing Object-Oriented Numerical Libraries.- Linear Algebra.- Other Programming Constructs You Might Meet.- Solutions to Exercises.