1#ifndef STAN_MATH_PRIM_META_INCLUDE_SUMMAND_HPP
2#define STAN_MATH_PRIM_META_INCLUDE_SUMMAND_HPP
36template <
bool propto,
typename T = double,
typename... T_pack>
38 :
bool_constant<(!stan::is_constant_all<scalar_type_t<T>>::value
39 || include_summand<propto, T_pack...>::value)> {};
46template <
bool propto,
typename T>
50 || !stan::is_constant_all<typename scalar_type<T>::type>::value)> {};
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Template metaprogram to calculate whether a summand needs to be included in a proportional (log) prob...