1#ifndef STAN_MATH_PRIM_META_PARTIALS_RETURN_TYPE_HPP
2#define STAN_MATH_PRIM_META_PARTIALS_RETURN_TYPE_HPP
32template <
typename T,
typename... T_pack>
43template <
typename... Args>
typename boost::math::tools::promote_args< Args... >::type promote_args_t
Convenience alias for boost tools promote_args.
typename partials_return_type< Args... >::type partials_return_t
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
promote_args_t< double, partials_type_t< scalar_type_t< T > > > type
promote_args_t< double, partials_type_t< scalar_type_t< T > >, typename partials_return_type< T_pack... >::type > type
Template metaprogram to calculate the partial derivative type resulting from promoting all the scalar...