Automatic Differentiation
 
Loading...
Searching...
No Matches
dv_vari.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_REV_CORE_DV_VARI_HPP
2#define STAN_MATH_REV_CORE_DV_VARI_HPP
3
5
6namespace stan {
7namespace math {
8
9class op_dv_vari : public vari {
10 protected:
11 double ad_;
13
14 public:
15 op_dv_vari(double f, double a, vari* bvi) : vari(f), ad_(a), bvi_(bvi) {}
16};
17
18} // namespace math
19} // namespace stan
20#endif
op_dv_vari(double f, double a, vari *bvi)
Definition dv_vari.hpp:15
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Definition fvar.hpp:9