1#ifndef STAN_MATH_PRIM_FUN_GET_LP_HPP
2#define STAN_MATH_PRIM_FUN_GET_LP_HPP
9template <
typename T_lp,
typename T_lp_accum>
12 return lp + lp_accum.
sum();
T sum() const
Return the sum of the accumulated values.
Class to accumulate values and eventually return their sum.
typename return_type< Ts... >::type return_type_t
Convenience type for the return type of the specified template parameters.
return_type_t< T_lp, T_lp_accum > get_lp(const T_lp &lp, const accumulator< T_lp_accum > &lp_accum)
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...