Automatic Differentiation
 
Loading...
Searching...
No Matches
partials_return_type.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_PRIM_META_PARTIALS_RETURN_TYPE_HPP
2#define STAN_MATH_PRIM_META_PARTIALS_RETURN_TYPE_HPP
3
7#include <type_traits>
8
9namespace stan {
10
32template <typename T, typename... T_pack>
35 typename partials_return_type<T_pack...>::type>;
36};
37
38template <typename T>
41};
42
43template <typename... Args>
44using partials_return_t = typename partials_return_type<Args...>::type;
45
46} // namespace stan
47#endif
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...