Mathieu-R / computational-physics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

computational-physics

Python

Binder Jupyter Notebooks contenant différentes méthodes numériques utiles en physique.
Les notebooks sont disponibles dans le dossier "python/notebooks".

Installer jupyter

Selon votre choix, vous pouvez installer jupyter lab ou jupyter notebook.

$ python3-m pip install notebook # jupyter notebook

Installer un environnement virtuel

Créer un environnement virtuel.

$ python3-m venv env
$ source env/bin/activate
$ python3-m pip install --upgrade pip

Connecter Jupyter à l'environnement virtuel.

$ pip3 install ipykernel
$ python3 -m ipykernel install --name=env

Installer les packages utiles.

$ pip3 install numpy matplotlib scipy

Lancer jupyter

$ jupyer notebook # ou notebook

Supprimer l'environnement virtuel de Jupyter

$ jupyter kernelspec uninstall myenv

C++

Basé sur le livre : "A practical introduction to computational physics and scientific computing (using C++)"

About

License:MIT License


Languages

Language:Jupyter Notebook 99.2%Language:C++ 0.8%