-
-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved Advanced SDE example into examples, streamlined notation, impro…
…ved how_to_choose_a_solver
- Loading branch information
1 parent
0433920
commit d87069b
Showing
6 changed files
with
655 additions
and
737 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# SDE solver table | ||
|
||
For an explanation of the terms in the table, see [how to choose a solver](../usage/how-to-choose-a-solver.md#stochastic-differential-equations). | ||
|
||
``` | ||
+----------------+-------+------------+------------------------------------+-------------------+----------------+------------------------------------------+ | ||
| | SDE | Lévy | Strong/weak order (per noise type) | VF evaluations | Embedded error | Recommended for | | ||
| | type | area +----------+--------------+----------+-------+-----------+ estimation | (and other notes) | | ||
| | | | General | Commutative | Additive | Drift | Diffusion | | | | ||
+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+ | ||
| Euler | Itô | BM only | 0.5/1.0 | 0.5/1.0 | 1.0/1.0 | 1 | 1 | No | Itô SDEs when a cheap solver is needed. | | ||
+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+ | ||
| Heun | Strat | BM only | 0.5/1.0 | 1.0/1.0 | 1.0/1.0 | 2 | 2 | Yes | Standard solver for Stratonovich SDEs. | | ||
+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+ | ||
| EulerHeun | Strat | BM only | 0.5/1.0 | 0.5/1.0 | 1.0/1.0 | 1 | 2 | No | Stratonovich SDEs with expensive drift. | | ||
+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+ | ||
| ItoMilstein | Itô | BM only | 0.5/1.0 | 1.0/1.0 | 1.0/1.0 | 1 | 1 | No | Better than Euler for Itô SDEs, but | | ||
| | | | | | | | | | comuptes the derivative of diffusion VF. | | ||
+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+ | ||
| Stratonovich | Strat | BM only | 0.5/1.0 | 1.0/1.0 | 1.0/1.0 | 1 | 1 | No | For commutative Stratonovich SDEs when | | ||
| Milstein | | | | | | | | | space-time Lévy area is not available. | | ||
| | | | | | | | | | Computes derivative of diffusion VF. | | ||
+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+ | ||
| ReversibleHeun | Strat | BM only | 0.5/1.0 | 1.0/1.0 | 1.0/1.0 | 2 | 2 | Yes | When a reversible solver is needed. | | ||
+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+ | ||
| Midpoint | Strat | BM only | 0.5/1.0 | 1.0/1.0 | 1.0/1.0 | 2 | 2 | Yes | Usually Heun should be preferred. | | ||
+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+ | ||
| Ralston | Strat | BM only | 0.5/1.0 | 1.0/1.0 | 1.0/1.0 | 2 | 2 | Yes | Usually Heun should be preferred. | | ||
+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+ | ||
| ShARK | Strat | space-time | / | / | 1.5/2.0 | 2 | 2 | Yes | Additive noise SDEs. | | ||
+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+ | ||
| SRA1 | Strat | space-time | / | / | 1.5/2.0 | 2 | 2 | Yes | Only slightly worse than ShARK. | | ||
+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+ | ||
| SEA | Strat | space-time | / | / | 1.0/1.0 | 1 | 1 | No | Cheap solver for additive noise SDEs. | | ||
+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+ | ||
| SPaRK | Strat | space-time | 0.5/1.0 | 1.0/1.0 | 1.5/2.0 | 3 | 3 | Yes | General SDEs when embedded error | | ||
| | | | | | | | | | estimation is needed. | | ||
+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+ | ||
| GeneralShARK | Strat | space-time | 0.5/1.0 | 1.0/1.0 | 1.5/2.0 | 2 | 3 | No | General SDEs when embedded error | | ||
| | | | | | | | | | estimaiton is not needed. | | ||
+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+ | ||
| SlowRK | Strat | space-time | 0.5/1.0 | 1.5/2.0 | 1.5/2.0 | 2 | 5 | No | Commutative noise SDEs. | | ||
+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+ | ||
``` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters