Stan Math Library  2.14.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 variales are promotable to themselves, and all primitive arithmetic types are promotable to double.

It will delcare an enum value equal to false.

Template Parameters
Vpromoted type
Ttarget type

Definition at line 20 of file ad_promotable.hpp.

Member Enumeration Documentation

§ anonymous enum

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

Definition at line 21 of file ad_promotable.hpp.


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

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