Stan Math Library  2.8.0
reverse mode automatic differentiation
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Groups
dv_vari.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_REV_CORE_DV_VARI_HPP
2 #define STAN_MATH_REV_CORE_DV_VARI_HPP
3 
5 
6 namespace stan {
7  namespace math {
8 
9  class op_dv_vari : public vari {
10  protected:
11  double ad_;
13  public:
14  op_dv_vari(double f, double a, vari* bvi) :
15  vari(f),
16  ad_(a),
17  bvi_(bvi) {
18  }
19  };
20 
21  }
22 }
23 #endif
The variable implementation base class.
Definition: vari.hpp:28
op_dv_vari(double f, double a, vari *bvi)
Definition: dv_vari.hpp:14

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