Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dv_vari.hpp
Go to the documentation of this file.
1 #ifndef STAN__AGRAD__REV__INTERNAL__DV_VARI_HPP
2 #define STAN__AGRAD__REV__INTERNAL__DV_VARI_HPP
3 
5 
6 namespace stan {
7  namespace agrad {
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
op_dv_vari(double f, double a, vari *bvi)
Definition: dv_vari.hpp:14
The variable implementation base class.
Definition: vari.hpp:28

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