S. Linge and H. P. Langtangen:
Programming for Computations
Book: Programming for Computations - A Gentle Introduction to Numerical Simulations with Python or MATLAB/Octave
The book contains a lot of hyperlinks. The PDF version for
printing also features the URLs of the links as footnotes.
Pack out tarfiles by tar xvzf prog4comp-python.tar.gz or tar xvzf prog4comp-matlab.tar.gz. The result is a directory py or m with the code examples from the book.
This book will appear in the Springer series Texts in Computational Science and Engineering, published in 2016. The official electronic version is open access, and the material on this page is available through the CC BY-NC license.