We continue to dive in using sparse matrices in Numpy and Scipy to speed up calculations. In this video, we will solve a thermal diffusion problem in one dimension, turning the partial differential equation into a system of ordinary differential equations for which we have readily available solvers. We will compare the performance differences between generating our equation system with a for loop and generating it via sparse matrix multiplication.
Github: https://github.com/kpmooney/numerical...
Tip Jarhttps://paypal.me/kpmooney