Python for Scientific Computing
Preface
Python with Numpy and Matplotlib
Introduction to Python and Jupyter notebooks
Python Variables, Including Lists and Tuples, and Arrays from Package Numpy
Decision Making With if, else, and elif
Defining and Using Python Functions
Code Files, Modules, and an Integrated Development Environment
Iteration with
for
Iteration with
while
Recursion (vs iteration)
Plotting Graphs with Matplotlib
Numpy Array Operations and Linear Algebra
Summation and Integration
Random Numbers, Histograms, and a Simulation
Appendices
Formatted Output and Some Text String Manipulation
Classes, Objects, Attributes, Methods: Very Basic Object-Oriented Programming in Python
Displaying Python Code in Markdown Text Cells
Exceptions and Exception Handling
Package Scipy and More Tools for Linear Algebra
The Romberg Method
Index