autoppl
v0.8
A C++ template library for probabilistic programming
hamiltonian.hpp
Go to the documentation of this file.
1
#pragma once
2
3
namespace
ppl
{
4
namespace
mcmc{
5
10
inline
double
hamiltonian
(
double
potential,
double
kinetic)
11
{
return
potential + kinetic; }
12
13
}
// namespace mcmc
14
}
// namespace ppl
ppl::mcmc::hamiltonian
double hamiltonian(double potential, double kinetic)
Definition:
hamiltonian.hpp:10
ppl
Definition:
bounded.hpp:11
include
autoppl
mcmc
hmc
hamiltonian.hpp
Generated by
1.8.20