1 #ifndef STAN_MATH_PRIM_ARR_FUN_DOT_HPP
2 #define STAN_MATH_PRIM_ARR_FUN_DOT_HPP
10 inline double dot(
const std::vector<double>& x,
11 const std::vector<double>& y) {
13 for (
size_t i = 0; i < x.size(); ++i)
fvar< T > sum(const std::vector< fvar< T > > &m)
Return the sum of the entries of the specified standard vector.
double dot(const std::vector< double > &x, const std::vector< double > &y)