Description Usage Arguments Value Examples
Returns the kinetic energy of a momentum vector. Used as an auxiliary function in Hamiltonian Monte Carlo samplers.
1 | K(p)
|
p |
numeric. vector of momenta. |
numeric. kinetic energy.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.