autoppl
v0.8
A C++ template library for probabilistic programming
|
#include <momentum_handler.hpp>
Public Types | |
using | adapter_policy_t = unit_var |
Public Member Functions | |
MomentumHandler (size_t=0) | |
template<class MatType , class GenType > | |
void | sample (Eigen::MatrixBase< MatType > &rho, GenType &gen) |
template<class MatType > | |
double | kinetic (const Eigen::MatrixBase< MatType > &rho) const |
template<class MatType > | |
const MatType & | dkinetic_dr (const MatType &rho) const |
Unit variance with no adaptation.
using ppl::mcmc::MomentumHandler< unit_var >::adapter_policy_t = unit_var |
|
inline |
|
inline |
|
inline |
Compute corresponding kinetic energy
|
inline |