1 #ifndef STAN_MATH_PRIM_SCAL_FUN_LOG_MIX_HPP
2 #define STAN_MATH_PRIM_SCAL_FUN_LOG_MIX_HPP
53 log1m(theta) + lambda2);
bool check_not_nan(const char *function, const char *name, const T_y &y)
Return true if y is not NaN.
fvar< T > log(const fvar< T > &x)
bool check_bounded(const char *function, const char *name, const T_y &y, const T_low &low, const T_high &high)
Return true if the value is between the low and high values, inclusively.
fvar< T > log_sum_exp(const std::vector< fvar< T > > &v)
fvar< T > log_mix(const fvar< T > &theta, const fvar< T > &lambda1, const fvar< T > &lambda2)
Return the log mixture density with specified mixing proportion and log densities and its derivative ...
fvar< T > log1m(const fvar< T > &x)