All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Groups
partials_return_type.hpp
Go to the documentation of this file.
#ifndef STAN_MATH_PRIM_SCAL_META_PARTIALS_RETURN_TYPE_HPP
#define STAN_MATH_PRIM_SCAL_META_PARTIALS_RETURN_TYPE_HPP
#include <stan/math/prim/scal/meta/partials_type.hpp>
#include <stan/math/prim/scal/meta/scalar_type.hpp>
#include <boost/math/tools/promotion.hpp>
namespace stan {
template <typename T1,
typename T2 = double,
typename T3 = double,
typename T4 = double,
typename T5 = double,
typename T6 = double>
struct partials_return_type {
typedef typename
boost::math::tools::promote_args
<typename partials_type<typename scalar_type<T1>::type>::type,
typename partials_type<typename scalar_type<T2>::type>::type,
typename partials_type<typename scalar_type<T3>::type>::type,
typename partials_type<typename scalar_type<T4>::type>::type,
typename partials_type<typename scalar_type<T5>::type>::type,
typename partials_type<typename scalar_type<T6>::type>::type>
::type
type;
};
}
#endif
partials_type.hpp
stan::partials_return_type
Definition: partials_return_type.hpp:16
scalar_type.hpp
stan::partials_type
Definition: partials_type.hpp:7
stan::partials_return_type::type
boost::math::tools::promote_args< typename partials_type< typename scalar_type< T1 >::type >::type, typename partials_type< typename scalar_type< T2 >::type >::type, typename partials_type< typename scalar_type< T3 >::type >::type, typename partials_type< typename scalar_type< T4 >::type >::type, typename partials_type< typename scalar_type< T5 >::type >::type, typename partials_type< typename scalar_type< T6 >::type >::type >::type type
Definition: partials_return_type.hpp:26

[ Stan Home Page ] © 2011–2015, Stan Development Team.