Description Usage Arguments Value Examples
Helper function for Hamiltonian Samplers that calculates the log joint density of a position and momentum pair.
1 | joint_d(theta, momentum, logf)
|
theta |
Vector. Position |
momentum |
Vector, momentum. |
logf |
function. Log probability density function of the target distribution |
Numeric. Log joint density of the theta/momentum pair
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.