Stan Math Library
2.20.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;
23
template
<
typename
V,
typename
T>
24
struct
ad_promotable
<V,
fvar
<T> > {
25
enum
{
value
=
ad_promotable<V, T>::value
};
26
};
27
28
}
// namespace math
29
}
// namespace stan
30
#endif
stan
Definition:
log_sum_exp.hpp:8
stan::math::ad_promotable::value
Definition:
ad_promotable.hpp:23
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:22
stan::math::fvar
This template class represents scalars used in forward-mode automatic differentiation, which consist of values and directional derivatives of the specified template type.
Definition:
fvar.hpp:41
[
Stan Home Page
]
© 2011–2018, Stan Development Team.