1#ifndef STAN_MATH_PRIM_FUN_DOT_HPP
2#define STAN_MATH_PRIM_FUN_DOT_HPP
11inline double dot(
const std::vector<double>& x,
const std::vector<double>& y) {
13 for (
size_t i = 0; i < x.size(); ++i) {
auto sum(const std::vector< 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)
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...