Skip to main content
  • Textbook
  • © 2012

Guide to Scientific Computing in C++

  • 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
  • Includes supplementary material: sn.pub/extras

Part of the book series: Undergraduate Topics in Computer Science (UTICS)

Buy it now

Buying options

eBook USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (12 chapters)

  1. Front Matter

    Pages I-XII
  2. Getting Started

    • Joe Pitt-Francis, Jonathan Whiteley
    Pages 1-24
  3. Flow of Control

    • Joe Pitt-Francis, Jonathan Whiteley
    Pages 25-42
  4. File Input and Output

    • Joe Pitt-Francis, Jonathan Whiteley
    Pages 43-53
  5. Pointers

    • Joe Pitt-Francis, Jonathan Whiteley
    Pages 55-64
  6. Blocks, Functions and Reference Variables

    • Joe Pitt-Francis, Jonathan Whiteley
    Pages 65-86
  7. An Introduction to Classes

    • Joe Pitt-Francis, Jonathan Whiteley
    Pages 87-115
  8. Inheritance and Derived Classes

    • Joe Pitt-Francis, Jonathan Whiteley
    Pages 117-130
  9. Templates

    • Joe Pitt-Francis, Jonathan Whiteley
    Pages 131-140
  10. Errors and Exceptions

    • Joe Pitt-Francis, Jonathan Whiteley
    Pages 141-149
  11. Developing Classes for Linear Algebra Calculations

    • Joe Pitt-Francis, Jonathan Whiteley
    Pages 151-164
  12. An Introduction to Parallel Programming Using MPI

    • Joe Pitt-Francis, Jonathan Whiteley
    Pages 165-191
  13. Designing Object-Oriented Numerical Libraries

    • Joe Pitt-Francis, Jonathan Whiteley
    Pages 193-212
  14. Back Matter

    Pages 213-250

About this book

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.

Reviews

From the reviews:

“This book is intended for experts – mathematicians or other scientists who are familiar with the concept of programming in a high-level language and experienced in programming in languages like Fortran or MathLab. The book contains an almost full description of C++ capabilities listing the basic distinctive features of programming in it. It can serve as a fine manual for quick introduction to the subtleties of C++. … Finally a plenty of useful examples and exercises with solutions is presented.” (Nail Zamov, Zentralblatt MATH, Vol. 1246, 2012)

Authors and Affiliations

  • Department of Computer Science, University of Oxford, Oxford, United Kingdom

    Joe Pitt-Francis, Jonathan Whiteley

About the authors

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.

Bibliographic Information

Buy it now

Buying options

eBook USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access