Description Usage Arguments References Examples
Hamiltonian Monte Carlo. This code is adapted from (Neal,2001). A simple tuning method is available.
1 | hmc.1(x, L = 1000, Tau = 0, epsilon = 0)
|
x |
Initial value |
L |
Number of iterations |
Tau |
Steps of leapfrog. |
epsilon |
Step-size of leapfrog. |
Wang, Jian<e2><80><94>Sheng, and R. H. Swendsen. "Nonuniversal critical dynamics in Monte Carlo simulations." Physical review letters (1987).
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.