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

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