Stan Math Library  2.20.0
reverse mode automatic differentiation
dvd_vari.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_REV_CORE_DVD_VARI_HPP
2 #define STAN_MATH_REV_CORE_DVD_VARI_HPP
3 
5 
6 namespace stan {
7 namespace math {
8 
9 class op_dvd_vari : public vari {
10  protected:
11  double ad_;
13  double cd_;
14 
15  public:
16  op_dvd_vari(double f, double a, vari* bvi, double c)
17  : vari(f), ad_(a), bvi_(bvi), cd_(c) {}
18 };
19 
20 } // namespace math
21 } // namespace stan
22 #endif
The variable implementation base class.
Definition: vari.hpp:30
op_dvd_vari(double f, double a, vari *bvi, double c)
Definition: dvd_vari.hpp:16

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