Skip to content

Commit 0433920

Browse files
committed
added Ralston and EulerHeun
1 parent b4211df commit 0433920

1 file changed

Lines changed: 38 additions & 36 deletions

File tree

docs/devdocs/sde_example.ipynb

Lines changed: 38 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -643,42 +643,44 @@
643643
"metadata": {},
644644
"source": [
645645
"```\n",
646-
"+----------------+-------+------------+----------------------------------+-------------------+----------------+------------------------------------------+\n",
647-
"| | SDE | Lévy | Strong/weak order per noise type | VF evaluations | Embedded error | Recommended for |\n",
648-
"| | type | area +---------+-------------+----------+-------+-----------+ estimation | (and other notes) |\n",
649-
"| | | | General | Commutative | Additive | Drift | Diffusion | | |\n",
650-
"+----------------+-------+------------+---------+-------------+----------+-------+-----------+----------------+------------------------------------------+\n",
651-
"| 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 |\n",
652-
"+----------------+-------+------------+---------+-------------+----------+-------+-----------+----------------+------------------------------------------+\n",
653-
"| Heun | Strat | BM only | 0.5/1.0 | 1.0/1.0 | 1.0/1.0 | 2 | 2 | Yes | Stratonovich SDEs without space-time LA. |\n",
654-
"| | | | | | | | | | Has weak order 2 for constant noise. |\n",
655-
"+----------------+-------+------------+---------+-------------+----------+-------+-----------+----------------+------------------------------------------+\n",
656-
"| ItoMilstein | Itô | BM only | 0.5/1.0 | 1.0/1.0 | 1.0/1.0 | 1 | 1 + deriv | No | Better than Euler for Itô SDEs, but |\n",
657-
"| | | | | | | | ative | | comuptes the derivative of diffusion VF |\n",
658-
"+----------------+-------+------------+---------+-------------+----------+-------+-----------+----------------+------------------------------------------+\n",
659-
"| Stratonovich | Strat | BM only | 0.5/1.0 | 1.0/1.0 | 1.0/1.0 | 1 | 1 + deriv | No | For commutative Stratonovich SDEs when |\n",
660-
"| Milstein | | | | | | | ative | | space-time Lévy area is not available. |\n",
661-
"| | | | | | | | | | Computes derivative of diffusion VF. |\n",
662-
"+----------------+-------+------------+---------+-------------+----------+-------+-----------+----------------+------------------------------------------+\n",
663-
"| ReversibleHeun | Strat | BM only | 0.5/1.0 | 1.0/1.0 | 1.0/1.0 | 1 | 1 | Yes | When a reversible solver is needed, e.g. |\n",
664-
"| | | | | | | | | | for Neural SDEs. This method is FSAL. |\n",
665-
"+----------------+-------+------------+---------+-------------+----------+-------+-----------+----------------+------------------------------------------+\n",
666-
"| Midpoint | Strat | BM only | 0.5/1.0 | 1.0/1.0 | 1.0/1.0 | 2 | 2 | Yes | Usually Heun should be preferred. |\n",
667-
"+----------------+-------+------------+---------+-------------+----------+-------+-----------+----------------+------------------------------------------+\n",
668-
"| ShARK | Addit | space-time | / | / | 1.5/2.0 | 2 | 2 | Yes | Additive noise SDEs |\n",
669-
"+----------------+-------+------------+---------+-------------+----------+-------+-----------+----------------+------------------------------------------+\n",
670-
"| SRA1 | Addit | space-time | / | / | 1.5/2.0 | 2 | 2 | Yes | Only slightly worse than ShARK |\n",
671-
"+----------------+-------+------------+---------+-------------+----------+-------+-----------+----------------+------------------------------------------+\n",
672-
"| SEA | Addit | space-time | / | / | 1.0/1.0 | 1 | 1 | No | Cheap solver for additive noise SDEs |\n",
673-
"+----------------+-------+------------+---------+-------------+----------+-------+-----------+----------------+------------------------------------------+\n",
674-
"| SPaRK | Strat | space-time | 0.5/1.0 | 1.0/1.0 | 1.5/2.0 | 3 | 3 | Yes | General SDEs when embedded error |\n",
675-
"| | | | | | | | | | estimation is needed |\n",
676-
"+----------------+-------+------------+---------+-------------+----------+-------+-----------+----------------+------------------------------------------+\n",
677-
"| GeneralShARK | Strat | space-time | 0.5/1.0 | 1.0/1.0 | 1.5/2.0 | 2 | 3 | No | General SDEs when embedded error |\n",
678-
"| | | | | | | | | | estimaiton is not needed |\n",
679-
"+----------------+-------+------------+---------+-------------+----------+-------+-----------+----------------+------------------------------------------+\n",
680-
"| SlowRK | Strat | space-time | 0.5/1.0 | 1.5/2.0 | 1.5/2.0 | 2 | 5 | No | Commutative noise SDEs. |\n",
681-
"+----------------+-------+------------+---------+-------------+----------+-------+-----------+----------------+------------------------------------------+\n",
646+
"+----------------+-------+------------+------------------------------------+-------------------+----------------+------------------------------------------+\n",
647+
"| | SDE | Lévy | Strong/weak order (per noise type) | VF evaluations | Embedded error | Recommended for |\n",
648+
"| | type | area +----------+--------------+----------+-------+-----------+ estimation | (and other notes) |\n",
649+
"| | | | General | Commutative | Additive | Drift | Diffusion | | |\n",
650+
"+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+\n",
651+
"| 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. |\n",
652+
"+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+\n",
653+
"| Heun | Strat | BM only | 0.5/1.0 | 1.0/1.0 | 1.0/1.0 | 2 | 2 | Yes | Standard solver for Stratonovich SDEs. |\n",
654+
"+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+\n",
655+
"| EulerHeun | Strat | BM only | 0.5/1.0 | 0.5/1.0 | 1.0/1.0 | 1 | 2 | No | Stratonovich SDEs with expensive drift. |\n",
656+
"+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+\n",
657+
"| 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 |\n",
658+
"| | | | | | | | | | comuptes the derivative of diffusion VF. |\n",
659+
"+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+\n",
660+
"| Stratonovich | Strat | BM only | 0.5/1.0 | 1.0/1.0 | 1.0/1.0 | 1 | 1 | No | For commutative Stratonovich SDEs when |\n",
661+
"| Milstein | | | | | | | | | space-time Lévy area is not available. |\n",
662+
"| | | | | | | | | | Computes derivative of diffusion VF. |\n",
663+
"+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+\n",
664+
"| 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. |\n",
665+
"+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+\n",
666+
"| Midpoint | Strat | BM only | 0.5/1.0 | 1.0/1.0 | 1.0/1.0 | 2 | 2 | Yes | Usually Heun should be preferred. |\n",
667+
"+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+\n",
668+
"| Ralston | Strat | BM only | 0.5/1.0 | 1.0/1.0 | 1.0/1.0 | 2 | 2 | Yes | Usually Heun should be preferred. |\n",
669+
"+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+\n",
670+
"| ShARK | Strat | space-time | / | / | 1.5/2.0 | 2 | 2 | Yes | Additive noise SDEs. |\n",
671+
"+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+\n",
672+
"| SRA1 | Strat | space-time | / | / | 1.5/2.0 | 2 | 2 | Yes | Only slightly worse than ShARK. |\n",
673+
"+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+\n",
674+
"| SEA | Strat | space-time | / | / | 1.0/1.0 | 1 | 1 | No | Cheap solver for additive noise SDEs. |\n",
675+
"+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+\n",
676+
"| SPaRK | Strat | space-time | 0.5/1.0 | 1.0/1.0 | 1.5/2.0 | 3 | 3 | Yes | General SDEs when embedded error |\n",
677+
"| | | | | | | | | | estimation is needed. |\n",
678+
"+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+\n",
679+
"| GeneralShARK | Strat | space-time | 0.5/1.0 | 1.0/1.0 | 1.5/2.0 | 2 | 3 | No | General SDEs when embedded error |\n",
680+
"| | | | | | | | | | estimaiton is not needed. |\n",
681+
"+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+\n",
682+
"| SlowRK | Strat | space-time | 0.5/1.0 | 1.5/2.0 | 1.5/2.0 | 2 | 5 | No | Commutative noise SDEs. |\n",
683+
"+----------------+-------+------------+----------+--------------+----------+-------+-----------+----------------+------------------------------------------+\n",
682684
"```"
683685
]
684686
}

0 commit comments

Comments
 (0)