Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
prod.hpp File Reference
#include <vector>
#include <stan/math/matrix/Eigen.hpp>

Go to the source code of this file.

Namespaces

 stan
 Probability, optimization and sampling library.
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

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

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