1 #ifndef STAN__MATH__FUNCTIONS__DOT_SELF_HPP
2 #define STAN__MATH__FUNCTIONS__DOT_SELF_HPP
11 inline double dot_self(
const std::vector<double>& x) {
13 for (
size_t i = 0; i < x.size(); ++i)
double dot_self(const std::vector< double > &x)
double sum(std::vector< double > &x)