1#ifndef STAN_MATH_PRIM_META_APPEND_RETURN_TYPE_HPP
2#define STAN_MATH_PRIM_META_APPEND_RETURN_TYPE_HPP
21template <
typename T1,
typename T2>
54template <
typename T1,
typename T2,
int R,
int C>
56 using type =
typename Eigen::Matrix<return_type_t<T1, T2>, R, C>;
70template <
typename T1,
typename T2>
72 using type =
typename std::vector<typename append_return_type<T1, T2>::type>;
typename return_type< Ts... >::type return_type_t
Convenience type for the return type of the specified template parameters.
(Expert) Numerical traits for algorithmic differentiation variables.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
typename Eigen::Matrix< return_type_t< T1, T2 >, R, C > type
typename std::vector< typename append_return_type< T1, T2 >::type > type
return_type_t< T1, T2 > type
This template metaprogram is used to compute the return type for append_array.