1 #ifndef DENSITYPRODUCT_H
2 #define DENSITYPRODUCT_H
29 unsigned int const inWrt2,
31 Eigen::VectorXd
const& vec)
override;
virtual double LogDensityImpl(ref_vector< Eigen::VectorXd > const &inputs) override
Implement the log-density.
DensityProduct(int numPiecesIn)
virtual Eigen::VectorXd GradLogDensityImpl(unsigned int wrt, ref_vector< Eigen::VectorXd > const &inputs) override
virtual ~DensityProduct()=default
virtual Eigen::VectorXd ApplyLogDensityHessianImpl(unsigned int const inWrt1, unsigned int const inWrt2, ref_vector< Eigen::VectorXd > const &input, Eigen::VectorXd const &vec) override
std::vector< std::reference_wrapper< const T > > ref_vector
A vector of references to something ...