DiffEqTutorials.jl holds PDFs, webpages, and interactive Jupyter notebooks showing how to utilize the software in the JuliaDiffEq ecosystem. This set of tutorials was made to complement the documentation and the devdocs by providing practical examples of the concepts. For more details, please consult the docs.
To run the tutorials interactively via Jupyter notebooks, install the package and open the tutorials like:
using Pkg
pkg"add https://github.com/JuliaDiffEq/DiffEqTutorials.jl"
using DiffEqTutorials
DiffEqTutorials.open_notebooks()
- Introduction
- Exercise Sheets
- Modeling Examples
- Advanced ODE Features
- Type Handling
- Advanced
First of all, make sure that your current directory is DiffEqTutorials
. All
of the files are generated from the Weave.jl files in the tutorials
folder.
To run the generation process, do for example:
using Pkg, DiffEqTutorials
cd(joinpath(dirname(pathof(DiffEqTutorials)), ".."))
Pkg.pkg"activate ."
Pkg.pkg"instantiate"
DiffEqTutorials.weave_file("introduction","ode_introduction.jmd")
To generate all of the notebooks, do:
DiffEqTutorials.weave_all()
If you add new tutorials which require new packages, simply updating your local environment will change the project and manifest files. When this occurs, the updated environment files should be included in the PR.