Stan Math Library
2.15.0
reverse mode automatic differentiation
stan
math
fwd
scal
meta
ad_promotable.hpp
Go to the documentation of this file.
1
#ifndef STAN_MATH_FWD_SCAL_META_AD_PROMOTABLE_HPP
2
#define STAN_MATH_FWD_SCAL_META_AD_PROMOTABLE_HPP
3
4
#include <
stan/math/prim/scal/meta/ad_promotable.hpp
>
5
6
namespace
stan
{
7
namespace
math {
8
9
template
<
typename
T>
10
struct
fvar;
11
12
template
<
typename
V,
typename
T>
13
struct
ad_promotable
<V,
fvar
<T> > {
14
enum
{
value
=
ad_promotable<V, T>::value
};
15
};
16
17
}
18
}
19
#endif
stan
Definition:
log_sum_exp.hpp:8
stan::math::ad_promotable::value
Definition:
ad_promotable.hpp:21
ad_promotable.hpp
stan::math::ad_promotable
Template traits metaprogram to determine if a variable of one template type can be promoted to a seco...
Definition:
ad_promotable.hpp:20
stan::math::fvar
Definition:
fvar.hpp:14
[
Stan Home Page
]
© 2011–2016, Stan Development Team.