Automatic Differentiation
 
Loading...
Searching...
No Matches
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
6namespace stan {
7namespace math {
8
9class 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
op_dvd_vari(double f, double a, vari *bvi, double c)
Definition dvd_vari.hpp:16
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...