Stan Math Library  2.20.0
reverse mode automatic differentiation
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 
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> > {
26 };
27 
28 } // namespace math
29 } // namespace stan
30 #endif
Template traits metaprogram to determine if a variable of one template type can be promoted to a seco...
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.