Emphasizing the connection between mathematical objects and their practical C++ implementation, this book provides a comprehensive introduction to both the theory behind the objects and the C and C++ programming. Object-oriented implementation of three-dimensional meshes facilitates understanding of their mathematical nature. Requiring no prerequisites, the text covers discrete mathematics, data structures, and computational physics, including high-order discretization of nonlinear equations. Exercises and solutions make the book suitable for classroom use and a supporting website supplies downloadable code.
"This is an exciting book on mathematics on one hand and computer programming on the other, and the reader can concentrate on one of the topics or both. The mathematics part focuses on teaching mathematics through constructive algorithms, ready for computer implementation. I believe this is the future view of these classical mathematical subjects. Many will find this book a major refresher of the mathematics literature. The programming part of the book serves as a very good introduction to C and C++, using meaningful and motivating examples from mathematics. The book is full of useful exercises of various difficulty. This fact makes the book very suitable as a textbook for a mathematics or computer science course."
-Hans Petter Langtangen, Simula Research Laboratory and University of Oslo, Norway
-Hans Petter Langtangen, Simula Research Laboratory and University of Oslo, Norway