| Stan Math Library 2.12.0 reverse mode automatic differentiation

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

ddv_vari.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_REV_CORE_DDV_VARI_HPP
2 #define STAN_MATH_REV_CORE_DDV_VARI_HPP
3
4 #include <stan/math/rev/core/vari.hpp>
5
6 namespace stan {
7 namespace math {
8
9 class op_ddv_vari : public vari {
10 protected:
11 double ad_;
12 double bd_;
13 vari* cvi_;
14 public:
15 op_ddv_vari(double f, double a, double b, vari* cvi) :
16 vari(f),
17 ad_(a),
18 bd_(b),
19 cvi_(cvi) {
20 }
21 };
22
23 }
24 }
25 #endif
stan::math::op_ddv_vari::cvi_
vari * cvi_
Definition: ddv_vari.hpp:13
stan::math::op_ddv_vari::op_ddv_vari
op_ddv_vari(double f, double a, double b, vari *cvi)
Definition: ddv_vari.hpp:15
vari.hpp
stan
Definition: log_sum_exp.hpp:8
stan::math::vari
The variable implementation base class.
Definition: vari.hpp:30
stan::math::op_ddv_vari
Definition: ddv_vari.hpp:9
stan::math::op_ddv_vari::bd_
double bd_
Definition: ddv_vari.hpp:12
stan::math::op_ddv_vari::ad_
double ad_
Definition: ddv_vari.hpp:11

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