Description Usage Arguments Value
Simulate a sample path of the Goldstein-Kac process.
1 2 3 4 5 6 7 8 | sampleEnsemble(
tt,
x0 = 0,
sp = 1,
npaths = 100,
ntime = 1000,
startSign = NULL
)
|
tt |
length of time to simulate under |
x0 |
the initial position of the particle |
sp |
the speed of light |
npaths |
number of paths to generate |
ntime |
number of time sub-intervals |
startSign |
the starting direction, use NULL for random, otherwise use +/- 1 |
matrix where the first column is the time, the rest are paths
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.