#include <precomp_vvv_vari.hpp>
|
| precomp_vvv_vari (double val, vari *avi, vari *bvi, vari *cvi, double da, double db, double dc) |
|
void | chain () |
| Apply the chain rule to this variable based on the variables on which it depends. More...
|
|
| op_vvv_vari (double f, vari *avi, vari *bvi, vari *cvi) |
|
| vari (const double x) |
| Construct a variable implementation from a value. More...
|
|
| vari (const double x, bool stacked) |
|
virtual | ~vari () |
| Throw an illegal argument exception. More...
|
|
virtual void | init_dependent () |
| Initialize the adjoint for this (dependent) variable to 1. More...
|
|
virtual void | set_zero_adjoint () |
| Set the adjoint value of this variable to 0. More...
|
|
| chainable () |
| Construct a chainable object. More...
|
|
virtual | ~chainable () |
| Chainables are not destructible and should go on the function call stack or be allocated with operator new. More...
|
|
|
static void * | operator new (size_t nbytes) |
| Allocate memory from the underlying memory pool. More...
|
|
static void | operator delete (void *) |
| Delete a pointer from the underlying memory pool. More...
|
|
const double | val_ |
| The value of this variable. More...
|
|
double | adj_ |
| The adjoint of this variable, which is the partial derivative of this variable with respect to the root variable. More...
|
|
Definition at line 11 of file precomp_vvv_vari.hpp.
stan::math::precomp_vvv_vari::precomp_vvv_vari |
( |
double |
val, |
|
|
vari * |
avi, |
|
|
vari * |
bvi, |
|
|
vari * |
cvi, |
|
|
double |
da, |
|
|
double |
db, |
|
|
double |
dc |
|
) |
| |
|
inline |
void stan::math::precomp_vvv_vari::chain |
( |
| ) |
|
|
inlinevirtual |
Apply the chain rule to this variable based on the variables on which it depends.
The base implementation in this class is a no-op.
Reimplemented from stan::math::chainable.
Definition at line 25 of file precomp_vvv_vari.hpp.
double stan::math::precomp_vvv_vari::da_ |
|
protected |
double stan::math::precomp_vvv_vari::db_ |
|
protected |
double stan::math::precomp_vvv_vari::dc_ |
|
protected |
The documentation for this class was generated from the following file: