This is a repository containing numerical algorithms in Python for mathematical modelling. The task author is Stanislav Alekseevich Bober, teacher of Python course at HSE University.
Tasks are mostly computationally complex problems from physics or mathematical modelling, which require creating a high-performance model. Two parallel computation frameworks for Python are mostly used to speed up the models - Taichi and Numba. For almost all tasks, different visualizations are useful to understand the process. And they are really pretty!
- Numerical integration of constrained three-body problem
- Light waves refraction
- Shaders and computer graphics
- Boids 2D spatial imitational model of agent behavior
- Heat transfer modelling in 2-dimensional space
- Ferromagnetic energy Izing model
- Lyapunov's fractal interactive map
- Procrustes analysis for sets of 3-dimensional figures
-
Clone repository to local machine
-
Install Pyenv using this guide
-
Install Poetry
-
Install Python, used in project:
$ pyenv install 3.9.16
If any problems happen - this guide can help.
-
Install everything via
poetry install
:$ poetry install
-
Use Poetry tools to run scripts and configure dependencies:
$ poetry run jupyter lab
And you are perfect, congratulations!