Automatic Differentiation
 
Loading...
Searching...
No Matches
stan::math::promote_scalar_type< T, S, require_all_t< is_var< 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< is_var< T >, is_var< S >, is_eigen< value_type_t< S > > > >

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

Template Parameters
Ta var_value.
SA var_value whose template type is derived from EigenBase. This specialization holds type S.

Definition at line 52 of file promote_scalar_type.hpp.

#include <promote_scalar_type.hpp>

Public Types

using type = std::decay_t< S >
 The promoted type.
 

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