![]() |
Stan Math Library
2.20.0
reverse mode automatic differentiation
|
Template traits metaprogram to determine if a variable of one template type is promotable to the base type of a second fvar template type. More...
#include <ad_promotable.hpp>
Public Types | |
enum | { value = ad_promotable<V, T>::value } |
Template traits metaprogram to determine if a variable of one template type is promotable to the base type of a second fvar template type.
It will declare an enum value
equal to true
if the variable type is promotable to the base type of the fvar template type, false
otherwise.
T | promoted type |
Definition at line 24 of file ad_promotable.hpp.
anonymous enum |
Enumerator | |
---|---|
value |
Definition at line 25 of file ad_promotable.hpp.