1 #ifndef STAN_MODEL_GRADIENT_DOT_VECTOR_HPP 2 #define STAN_MODEL_GRADIENT_DOT_VECTOR_HPP 4 #include <stan/math/mix/mat.hpp> 13 const Eigen::Matrix<double, Eigen::Dynamic, 1>& x,
14 const Eigen::Matrix<double, Eigen::Dynamic, 1>& v,
17 std::ostream* msgs = 0) {
19 x, v, f, grad_f_dot_v);
Probability, optimization and sampling library.
void gradient_dot_vector(const M &model, const Eigen::Matrix< double, Eigen::Dynamic, 1 > &x, const Eigen::Matrix< double, Eigen::Dynamic, 1 > &v, double &f, double &grad_f_dot_v, std::ostream *msgs=0)