Computational Methods

Computational Methods (B22, Term 1)

This course aims to provide students from non-computational backgrounds with the basic knowledge and practical skills for computational methods required today in almost all fields of science.
Python is used as the standard programming language, but the concepts covered can be helpful also in using other computing tools for data analysis and simulation.


Course materials are provided as Jupyter Notebooks (.ipynb), with outputs in pdf for reference.

  1. Introduction: Python, jupyter notebood, data types, if and for, file access [pdf]
  2. Visualization: matplotlib [pdf]
  3. Vectors and matrices: numpy; inverse, eigenvalue/vector, covariance, PCA, SVD [pdf]
  4. Functions and classes: name space, object oriented programming [pdf]
  5. Iterative computation: Newton method, discrete-time dynamics
  6. Ordinary differential equation: scipy; Euler method, stability, bifurcation [pdf]
  7. Partial differential equation:  separation of variables, space constant
  8. Optimization: gradient descent, Gauss-Newton method
  9. Sampling methods: Monte Carlo methods, evolutionary algorithms
  10. Distributed computing: multiprocessing; sango, slurm
  11. Software management: version control system, build tools