Stan Math Library  2.20.0
reverse mode automatic differentiation
Namespaces | Functions
log_mix.hpp File Reference
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/mat/fun/log_sum_exp.hpp>
#include <stan/math/prim/mat/fun/log.hpp>
#include <stan/math/prim/mat/fun/value_of.hpp>
#include <stan/math/prim/scal/err/check_bounded.hpp>
#include <stan/math/prim/scal/err/check_not_nan.hpp>
#include <stan/math/prim/scal/err/check_consistent_sizes.hpp>
#include <stan/math/prim/scal/err/check_finite.hpp>
#include <stan/math/prim/scal/fun/value_of.hpp>
#include <vector>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T_theta , typename T_lam >
return_type< T_theta, T_lam >::type stan::math::log_mix (const T_theta &theta, const T_lam &lambda)
 Return the log mixture density with specified mixing proportions and log densities. More...
 
template<typename T_theta , typename T_lam , int R, int C>
return_type< T_theta, std::vector< Eigen::Matrix< T_lam, R, C > > >::type stan::math::log_mix (const T_theta &theta, const std::vector< Eigen::Matrix< T_lam, R, C > > &lambda)
 Return the log mixture density given specified mixing proportions and array of log density vectors. More...
 
template<typename T_theta , typename T_lam >
return_type< T_theta, std::vector< std::vector< T_lam > > >::type stan::math::log_mix (const T_theta &theta, const std::vector< std::vector< T_lam > > &lambda)
 Return the log mixture density given specified mixing proportions and array of log density arrays. More...
 

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