Stan Math Library  2.12.0
reverse mode automatic differentiation
Namespaces | Functions
sum.hpp File Reference
#include <stan/math/prim/mat/fun/Eigen.hpp>
#include <stan/math/prim/arr/fun/sum.hpp>
#include <vector>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T , int R, int C>
double stan::math::sum (const Eigen::Matrix< T, R, C > &v)
 Returns the sum of the coefficients of the specified column vector. More...
 

     [ Stan Home Page ] © 2011–2016, Stan Development Team.