Stan Math Library  2.20.0
reverse mode automatic differentiation
Public Member Functions | Public Attributes | Static Protected Member Functions | List of all members
stan::math::internal::trace_inv_quad_form_ldlt_vari< T2, R2, C2, T3, R3, C3 > Class Template Reference

#include <trace_inv_quad_form_ldlt.hpp>

Inheritance diagram for stan::math::internal::trace_inv_quad_form_ldlt_vari< T2, R2, C2, T3, R3, C3 >:
stan::math::vari

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...
 
- Public Member Functions inherited from stan::math::vari
 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_
 
- Public Attributes inherited from stan::math::vari
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 Public Member Functions inherited from stan::math::vari
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...
 

Detailed Description

template<typename T2, int R2, int C2, typename T3, int R3, int C3>
class stan::math::internal::trace_inv_quad_form_ldlt_vari< T2, R2, C2, T3, R3, C3 >

Definition at line 87 of file trace_inv_quad_form_ldlt.hpp.

Constructor & Destructor Documentation

◆ trace_inv_quad_form_ldlt_vari()

template<typename T2 , int R2, int C2, typename T3 , int R3, int C3>
stan::math::internal::trace_inv_quad_form_ldlt_vari< T2, R2, C2, T3, R3, C3 >::trace_inv_quad_form_ldlt_vari ( trace_inv_quad_form_ldlt_impl< T2, R2, C2, T3, R3, C3 > *  impl)
inlineexplicit

Definition at line 128 of file trace_inv_quad_form_ldlt.hpp.

Member Function Documentation

◆ chain()

template<typename T2 , int R2, int C2, typename T3 , int R3, int C3>
virtual void stan::math::internal::trace_inv_quad_form_ldlt_vari< T2, R2, C2, T3, R3, C3 >::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::vari.

Definition at line 132 of file trace_inv_quad_form_ldlt.hpp.

◆ chainA() [1/2]

template<typename T2 , int R2, int C2, typename T3 , int R3, int C3>
static void stan::math::internal::trace_inv_quad_form_ldlt_vari< T2, R2, C2, T3, R3, C3 >::chainA ( double  adj,
trace_inv_quad_form_ldlt_impl< double, R2, C2, T3, R3, C3 > *  impl 
)
inlinestaticprotected

Definition at line 89 of file trace_inv_quad_form_ldlt.hpp.

◆ chainA() [2/2]

template<typename T2 , int R2, int C2, typename T3 , int R3, int C3>
static void stan::math::internal::trace_inv_quad_form_ldlt_vari< T2, R2, C2, T3, R3, C3 >::chainA ( double  adj,
trace_inv_quad_form_ldlt_impl< var, R2, C2, T3, R3, C3 > *  impl 
)
inlinestaticprotected

Definition at line 96 of file trace_inv_quad_form_ldlt.hpp.

◆ chainB() [1/2]

template<typename T2 , int R2, int C2, typename T3 , int R3, int C3>
static void stan::math::internal::trace_inv_quad_form_ldlt_vari< T2, R2, C2, T3, R3, C3 >::chainB ( double  adj,
trace_inv_quad_form_ldlt_impl< T2, R2, C2, double, R3, C3 > *  impl 
)
inlinestaticprotected

Definition at line 92 of file trace_inv_quad_form_ldlt.hpp.

◆ chainB() [2/2]

template<typename T2 , int R2, int C2, typename T3 , int R3, int C3>
static void stan::math::internal::trace_inv_quad_form_ldlt_vari< T2, R2, C2, T3, R3, C3 >::chainB ( double  adj,
trace_inv_quad_form_ldlt_impl< T2, R2, C2, var, R3, C3 > *  impl 
)
inlinestaticprotected

Definition at line 112 of file trace_inv_quad_form_ldlt.hpp.

Member Data Documentation

◆ impl_

template<typename T2 , int R2, int C2, typename T3 , int R3, int C3>
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.


The documentation for this class was generated from the following file:

     [ Stan Home Page ] © 2011–2018, Stan Development Team.