Automatic Differentiation
 
Loading...
Searching...
No Matches
stan::math::promote_scalar_type< T, S, Enable > Struct Template Reference

Detailed Description

template<typename T, typename S, typename Enable = void>
struct stan::math::promote_scalar_type< T, S, Enable >

Template metaprogram to calculate a type for converting a convertible type.

This is the base case.

Template Parameters
Tresult scalar type.
Sinput type

Definition at line 22 of file promote_scalar_type.hpp.

#include <promote_scalar_type.hpp>

Public Types

using type = T
 The promoted type.
 

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