Back to course overview
Scientific Python
NumPy
Arrays and vectorised maths, broadcasting, linear systems with numpy.linalg, and seeded random numbers for simulating measurement noise.
3 lessons · 3h 29m
- 1h 30mArrays and vectorisationReading
Replace slow Python loops with NumPy array math, and use broadcasting to combine arrays of different shapes.
- 45mLinear algebra with NumPyReading
Set up a real engineering system as A x = b, solve it with numpy.linalg, and check the answer with residuals and the condition number.
- 1h 14mRandom numbers and simulationReading
Use NumPy's seeded random generator to simulate measurement noise and propagate uncertainty through a calculation with Monte Carlo.