A Primer on Scientific Programming with Python

  • Hans Petter Langtangen

Part of the Texts in Computational Science and Engineering book series (TCSE, volume 6)

Table of contents

  1. Front Matter
    Pages i-xxxi
  2. Hans Petter Langtangen
    Pages 1-49
  3. Hans Petter Langtangen
    Pages 51-89
  4. Hans Petter Langtangen
    Pages 91-147
  5. Hans Petter Langtangen
    Pages 149-225
  6. Hans Petter Langtangen
    Pages 227-332
  7. Hans Petter Langtangen
    Pages 333-408
  8. Hans Petter Langtangen
    Pages 409-487
  9. Hans Petter Langtangen
    Pages 489-566
  10. Hans Petter Langtangen
    Pages 567-643
  11. Back Matter
    Pages 645-922

About this book

Introduction

The book serves as a first introduction to computer programming of scientific applications, using the high-level Python language. The exposition is example and problem-oriented, where the applications are taken from mathematics, numerical calculus, statistics, physics, biology and finance. The book teaches "Matlab-style" and procedural programming as well as object-oriented programming. High school mathematics is a required background and it is advantageous to study classical and numerical one-variable calculus in parallel with reading this book. Besides learning how to program computers, the reader will also learn how to solve mathematical problems, arising in various branches of science and engineering, with the aid of numerical methods and programming. By blending programming, mathematics and scientific applications, the book lays a solid foundation for practicing computational science.

From the reviews: Langtangen … does an excellent job of introducing programming as a set of skills in problem solving. He guides the reader into thinking properly about producing program logic and data structures for modeling real-world problems using objects and functions and embracing the object-oriented paradigm. … Summing Up: Highly recommended. 

F. H. Wild III, Choice, Vol. 47 (8), April 2010

Those of us who have learned scientific programming in Python ‘on the streets’ could be a little jealous of students who have the opportunity to take a course out of Langtangen’s Primer.” 
John D. Cook, The Mathematical Association of America, September 2011

This book goes through Python in particular, and programming in general, via tasks that scientists will likely perform. It contains valuable information for students new to scientific computing and would be the perfect bridge between an introduction to programming and an advanced course on numerical methods or computational science.
Alex Small, IEEE, CiSE Vol. 14 (2), March/April 2012  

“This fourth edition is a wonderful, inclusive textbook that covers pretty much everything one needs to know to go from zero to fairly sophisticated scientific programming in Python…”
Joan Horvath, Computing Reviews, March 2015 

 

Keywords

Monte Carlo simulation Python programming numerical calculus numerical methods object-oriented programming ordinary differential equations vectorization

Authors and affiliations

  • Hans Petter Langtangen
    • 1
  1. 1.Center for Biomedical ComputingSimula Research Laboratory Center for Biomedical ComputingFornebuNorway

Bibliographic information

  • DOI https://doi.org/10.1007/978-3-662-49887-3
  • Copyright Information Springer-Verlag Berlin Heidelberg 2016
  • Publisher Name Springer, Berlin, Heidelberg
  • eBook Packages Mathematics and Statistics
  • Print ISBN 978-3-662-49886-6
  • Online ISBN 978-3-662-49887-3
  • Series Print ISSN 1611-0994
  • Series Online ISSN 2197-179X
  • About this book