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-xxvii
  2. Pages 51-118
  3. Pages 337-415
  4. Back Matter
    Pages 573-700

About this book

Introduction

Theaimofthisbookistoteachcomputerprogrammingusingexamples from mathematics and the natural sciences. We have chosen to use the Python programming language because it combines remarkable power with very clean, simple, and compact syntax. Python is easy to learn and very well suited for an introduction to computer programming. Python is also quite similar to Matlab and a good language for doing mathematical computing. It is easy to combine Python with compiled languages, like Fortran, C, and C++, which are widely used languages forscienti?ccomputations.AseamlessintegrationofPythonwithJava is o?ered by a special version of Python called Jython. The examples in this book integrate programming with appli- tions to mathematics, physics, biology, and ?nance. The reader is - pected to have knowledge of basic one-variable calculus as taught in mathematics-intensive programs in high schools. It is certainly an - vantage to take a university calculus course in parallel, preferably c- taining both classical and numerical aspects of calculus. Although not strictly required, a background in high school physics makes many of the examples more meaningful.

Keywords

Monte Carlo simulation Python Python programming calculus numerical calculus numerical methods object-oriented programming object-oriented programming (OOP) ordinary differential equations procedural programming programming statistics vectorization

Authors and affiliations

  • Hans Petter Langtangen
    • 1
    • 2
  1. 1.Simula Research LaboratoryLysaker, FornebuNorway
  2. 2.Department of InformaticsUniversity of OsloOsloNorway

Bibliographic information

  • DOI https://doi.org/10.1007/978-3-642-02475-7
  • Copyright Information Springer-Verlag Berlin Heidelberg 2009
  • Publisher Name Springer, Berlin, Heidelberg
  • eBook Packages Mathematics and Statistics
  • Print ISBN 978-3-642-02474-0
  • Online ISBN 978-3-642-02475-7
  • Series Print ISSN 1611-0994
  • About this book