1 #ifndef STAN_MATH_PRIM_ARR_FUN_DOT_SELF_HPP 2 #define STAN_MATH_PRIM_ARR_FUN_DOT_SELF_HPP 11 inline double dot_self(
const std::vector<double>& x) {
fvar< T > sum(const std::vector< fvar< T > > &m)
Return the sum of the entries of the specified standard vector.
fvar< T > dot_self(const Eigen::Matrix< fvar< T >, R, C > &v)