![]() |
Stan Math Library
2.20.0
reverse mode automatic differentiation
|
#include <trace_inv_quad_form_ldlt.hpp>
Public Member Functions | |
trace_inv_quad_form_ldlt_vari (trace_inv_quad_form_ldlt_impl< T2, R2, C2, T3, R3, C3 > *impl) | |
virtual void | chain () |
Apply the chain rule to this variable based on the variables on which it depends. More... | |
![]() | |
vari (double x) | |
Construct a variable implementation from a value. More... | |
vari (double x, bool stacked) | |
virtual | ~vari () |
Throw an illegal argument exception. More... | |
void | init_dependent () |
Initialize the adjoint for this (dependent) variable to 1. More... | |
void | set_zero_adjoint () |
Set the adjoint value of this variable to 0. More... | |
Public Attributes | |
trace_inv_quad_form_ldlt_impl< T2, R2, C2, T3, R3, C3 > * | impl_ |
![]() | |
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... | |
Static Protected Member Functions | |
static void | chainA (double adj, trace_inv_quad_form_ldlt_impl< double, R2, C2, T3, R3, C3 > *impl) |
static void | chainB (double adj, trace_inv_quad_form_ldlt_impl< T2, R2, C2, double, R3, C3 > *impl) |
static void | chainA (double adj, trace_inv_quad_form_ldlt_impl< var, R2, C2, T3, R3, C3 > *impl) |
static void | chainB (double adj, trace_inv_quad_form_ldlt_impl< T2, R2, C2, var, R3, C3 > *impl) |
Additional Inherited Members | |
![]() | |
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... | |
Definition at line 87 of file trace_inv_quad_form_ldlt.hpp.
|
inlineexplicit |
Definition at line 128 of file trace_inv_quad_form_ldlt.hpp.
|
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::vari.
Definition at line 132 of file trace_inv_quad_form_ldlt.hpp.
|
inlinestaticprotected |
Definition at line 89 of file trace_inv_quad_form_ldlt.hpp.
|
inlinestaticprotected |
Definition at line 96 of file trace_inv_quad_form_ldlt.hpp.
|
inlinestaticprotected |
Definition at line 92 of file trace_inv_quad_form_ldlt.hpp.
|
inlinestaticprotected |
Definition at line 112 of file trace_inv_quad_form_ldlt.hpp.
trace_inv_quad_form_ldlt_impl<T2, R2, C2, T3, R3, C3>* stan::math::internal::trace_inv_quad_form_ldlt_vari< T2, R2, C2, T3, R3, C3 >::impl_ |
Definition at line 148 of file trace_inv_quad_form_ldlt.hpp.