Description Usage Arguments Value
leapfrog integrtion
1 | leapfrog(level, x, v, tuning)
|
level |
an integer that controls probability distribution utilized for calculation of gradients of the potential |
x |
position of the particle |
v |
velocity of the particle |
tuning |
a list that contains the stepsize and number of steps for the leapfrog integration |
list that contains new position of the particle, new velocsity of the particle and the cost of leapfrog integration (proportional to number of gradient evaluation)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.