Stan Math Library
5.0.0
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
4
#include <
stan/math/rev/core/vari.hpp
>
5
6
namespace
stan
{
7
namespace
math {
8
9
class
op_dv_vari
:
public
vari
{
10
protected
:
11
double
ad_
;
12
vari
*
bvi_
;
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
stan::math::op_dv_vari::bvi_
vari * bvi_
Definition
dv_vari.hpp:12
stan::math::op_dv_vari::ad_
double ad_
Definition
dv_vari.hpp:11
stan::math::op_dv_vari::op_dv_vari
op_dv_vari(double f, double a, vari *bvi)
Definition
dv_vari.hpp:15
stan::math::op_dv_vari
Definition
dv_vari.hpp:9
stan::math::vari_value
Definition
vari.hpp:17
stan
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Definition
unit_vector_constrain.hpp:15
vari.hpp
stan
math
rev
core
dv_vari.hpp
[
Stan Home Page
]
© 2011–2019, Stan Development Team.