1 #ifndef STAN_MCMC_HMC_NUTS_UNIT_E_NUTS_CLASSIC_HPP
2 #define STAN_MCMC_HMC_NUTS_UNIT_E_NUTS_CLASSIC_HPP
13 template <
class Model,
class BaseRNG>
16 expl_leapfrog, BaseRNG> {
24 Eigen::VectorXd& rho) {
25 return finish.
p.dot(rho - finish.
p) > 0
26 && start.
p.dot(rho - start.
p) > 0;
bool compute_criterion(ps_point &start, unit_e_point &finish, Eigen::VectorXd &rho)
Probability, optimization and sampling library.
Point in a generic phase space.
Point in a phase space with a base Euclidean manifold with unit metric.
unit_e_nuts_classic(const Model &model, BaseRNG &rng)