Automatic Differentiation
 
Loading...
Searching...
No Matches
stan::math::promote_scalar_type< T, S, require_all_t< std::is_arithmetic< T >, is_var< S >, is_eigen< value_type_t< S > > > > Struct Template Reference

Detailed Description

template<typename T, typename S>
struct stan::math::promote_scalar_type< T, S, require_all_t< std::is_arithmetic< T >, is_var< S >, is_eigen< value_type_t< S > > > >

Specialization for var_value when the type to convert to is arithmetic.

Template Parameters
Tan arithmetic type.
SA var_value whose template type is derived from EigenBase. This specialization the promoted value type of S.

Definition at line 67 of file promote_scalar_type.hpp.

#include <promote_scalar_type.hpp>

Public Types

using type = typename promote_scalar_type< T, value_type_t< S > >::type
 The promoted type.
 

The documentation for this struct was generated from the following file: