Automatic Differentiation
 
Loading...
Searching...
No Matches
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
5
6namespace stan {
7namespace math {
8
9class op_ddv_vari : public vari {
10 protected:
11 double ad_;
12 double bd_;
14
15 public:
16 op_ddv_vari(double f, double a, double b, vari* cvi)
17 : vari(f), ad_(a), bd_(b), cvi_(cvi) {}
18};
19
20} // namespace math
21} // namespace stan
22#endif
op_ddv_vari(double f, double a, double b, vari *cvi)
Definition ddv_vari.hpp:16
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...