![]() |
Stan Math Library
2.15.0
reverse mode automatic differentiation
|
Struct which calculates type promotion given two types. More...
#include <common_type.hpp>
Public Types | |
typedef boost::math::tools::promote_args< T1, T2 >::type | type |
Struct which calculates type promotion given two types.
This is the base implementation for scalar types. Allowed promotions are:
Promotion between differing var types is not allowed, i.e., cannot promote fvar to var or vice versa.
T1 | scalar type |
T2 | scalar type |
Definition at line 24 of file common_type.hpp.
typedef boost::math::tools::promote_args<T1, T2>::type stan::math::common_type< T1, T2 >::type |
Definition at line 25 of file common_type.hpp.