Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions docs/src/tutorials/discrete_stochastic_example.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,28 +42,28 @@ Catalyst, which should ensure optimal jump types are selected to represent each
reaction, and necessary data structures for the simulation algorithms, such as
dependency graphs, are automatically calculated.

We'll make use of the
[DifferentialEquations.jl](https://docs.sciml.ai/DiffEqDocs/stable/)
meta package, which includes JumpProcesses and ODE/SDE solvers, Plots.jl, and
(optionally) Catalyst.jl in this tutorial. If not already installed, they can be
added as follows:
We'll make use of [JumpProcesses.jl](https://docs.sciml.ai/JumpProcesses/stable/)
together with [OrdinaryDiffEq.jl](https://docs.sciml.ai/OrdinaryDiffEq/stable/)
(for ODE solvers), Plots.jl, and (optionally) Catalyst.jl in this tutorial. If
not already installed, they can be added as follows:

```julia
using Pkg
Pkg.add("DifferentialEquations")
Pkg.add("JumpProcesses")
Pkg.add("OrdinaryDiffEq")
Pkg.add("Plots")
Pkg.add("Catalyst") # optional
```

Let's now load the required packages and set some default plot settings

```julia
using DifferentialEquations, Plots, LinearAlgebra
using JumpProcesses, OrdinaryDiffEq, Plots, LinearAlgebra
default(; lw = 2)
```

```@setup tut2
using DifferentialEquations, Plots, LinearAlgebra
using JumpProcesses, OrdinaryDiffEq, Plots, LinearAlgebra
default(; lw = 2)
```

Expand Down
9 changes: 4 additions & 5 deletions docs/src/tutorials/jump_diffusion.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,16 @@ not already installed

```julia
using Pkg
Pkg.add("DifferentialEquations")
Pkg.add("JumpProcesses")
Pkg.add("OrdinaryDiffEq")
Pkg.add("StochasticDiffEq")
Pkg.add("Plots")
```

DifferentialEquations.jl will install JumpProcesses, along with the needed ODE and
SDE solvers.

We then load these packages, and set some plotting defaults, as

```@example tut3
using DifferentialEquations, Plots
using JumpProcesses, StochasticDiffEq, OrdinaryDiffEq, Plots
default(; lw = 2)
```

Expand Down
Loading