1 #ifndef STAN_MCMC_HMC_NUTS_DENSE_E_NUTS_CLASSIC_HPP
2 #define STAN_MCMC_HMC_NUTS_DENSE_E_NUTS_CLASSIC_HPP
13 template <
class Model,
class BaseRNG>
16 expl_leapfrog, BaseRNG> {
26 Eigen::VectorXd& rho) {
27 return finish.
p.transpose() * finish.
mInv * (rho - finish.
p) > 0
28 && start.
p.transpose() * finish.
mInv * (rho - start.
p) > 0;
Probability, optimization and sampling library.
bool compute_criterion(ps_point &start, dense_e_point &finish, Eigen::VectorXd &rho)
Point in a generic phase space.
dense_e_nuts_classic(const Model &model, BaseRNG &rng)
Point in a phase space with a base Euclidean manifold with dense metric.