Stan Math Library  2.20.0
reverse mode automatic differentiation
Public Types | List of all members
stan::math::ad_promotable< V, T > Struct Template Reference

Template traits metaprogram to determine if a variable of one template type can be promoted to a second target template type. More...

#include <ad_promotable.hpp>

Public Types

enum  { value = false }
 

Detailed Description

template<typename V, typename T>
struct stan::math::ad_promotable< V, T >

Template traits metaprogram to determine if a variable of one template type can be promoted to a second target template type.

All variables are promotable to themselves, and all primitive arithmetic types are promotable to double.

It will declare an enum value equal to false.

Template Parameters
Vpromoted type
Ttarget type

Definition at line 22 of file ad_promotable.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<typename V , typename T >
anonymous enum
Enumerator
value 

Definition at line 23 of file ad_promotable.hpp.


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

     [ Stan Home Page ] © 2011–2018, Stan Development Team.