Python Scripting for Computational Science

  • Hans Petter Langtangen

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

Table of contents

  1. Front Matter
    Pages I-XXII
  2. Hans Petter Langtangen
    Pages 1-25
  3. Hans Petter Langtangen
    Pages 27-64
  4. Hans Petter Langtangen
    Pages 65-119
  5. Hans Petter Langtangen
    Pages 121-167
  6. Hans Petter Langtangen
    Pages 169-204
  7. Hans Petter Langtangen
    Pages 205-273
  8. Hans Petter Langtangen
    Pages 275-298
  9. Hans Petter Langtangen
    Pages 299-429
  10. Hans Petter Langtangen
    Pages 431-461
  11. Hans Petter Langtangen
    Pages 463-502
  12. Hans Petter Langtangen
    Pages 503-578
  13. Hans Petter Langtangen
    Pages 579-647
  14. Back Matter
    Pages 649-732

About this book

Introduction

The primary purpose of this book is to help scientists and engineers work­ ing intensively with computers to become more productive, have more fun, and increase the reliability of their investigations. Scripting in the Python programming language can be a key tool for reaching these goals [27,29]. The term scripting means different things to different people. By scripting I mean developing programs of an administering nature, mostly to organize your work, using languages where the abstraction level is higher and program­ ming is more convenient than in Fortran, C, C++, or Java. Perl, Python, Ruby, Scheme, and Tel are examples of languages supporting such high-level programming or scripting. To some extent Matlab and similar scientific com­ puting environments also fall into this category, but these environments are mainly used for computing and visualization with built-in tools, while script­ ing aims at gluing a range of different tools for computing, visualization, data analysis, file/directory management, user interfaces, and Internet communi­ cation. So, although Matlab is perhaps the scripting language of choiee in computational science today, my use of the term scripting goes beyond typi­ cal Matlab scripts. Python stands out as the language of choice for scripting in computational science because of its very elean syntax, rieh modulariza­ tion features, good support for numerical computing, and rapidly growing popularity. What Scripting is About.

Keywords

C++ programming language FORTRAN Java MATLAB Python computational experiments computational science graphical user interfaces interfaces language multi-language programming programming programming language scientific computing user interface

Authors and affiliations

  • Hans Petter Langtangen
    • 1
    • 2
  1. 1.Simula Research LaboratoryLysakerNorway
  2. 2.Department of InformaticsUniversity of OsloBlindern, OsloNorway

Bibliographic information

  • DOI https://doi.org/10.1007/978-3-662-05450-5
  • Copyright Information Springer-Verlag Berlin Heidelberg 2004
  • Publisher Name Springer, Berlin, Heidelberg
  • eBook Packages Springer Book Archive
  • Print ISBN 978-3-662-05452-9
  • Online ISBN 978-3-662-05450-5
  • Series Print ISSN 1611-0994
  • About this book