![]() |
Stan Math Library
2.20.0
reverse mode automatic differentiation
|
#include <mdivide_left_spd.hpp>
Public Member Functions | |
mdivide_left_spd_dv_vari (const Eigen::Matrix< double, R1, C1 > &A, const Eigen::Matrix< var, R2, C2 > &B) | |
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 | |
int | M_ |
int | N_ |
vari ** | variRefB_ |
vari ** | variRefC_ |
mdivide_left_spd_alloc< R1, C1, R2, C2 > * | alloc_ |
![]() | |
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... | |
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 113 of file mdivide_left_spd.hpp.
|
inline |
Definition at line 121 of file mdivide_left_spd.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 158 of file mdivide_left_spd.hpp.
mdivide_left_spd_alloc<R1, C1, R2, C2>* stan::math::internal::mdivide_left_spd_dv_vari< R1, C1, R2, C2 >::alloc_ |
Definition at line 119 of file mdivide_left_spd.hpp.
int stan::math::internal::mdivide_left_spd_dv_vari< R1, C1, R2, C2 >::M_ |
Definition at line 115 of file mdivide_left_spd.hpp.
int stan::math::internal::mdivide_left_spd_dv_vari< R1, C1, R2, C2 >::N_ |
Definition at line 116 of file mdivide_left_spd.hpp.
vari** stan::math::internal::mdivide_left_spd_dv_vari< R1, C1, R2, C2 >::variRefB_ |
Definition at line 117 of file mdivide_left_spd.hpp.
vari** stan::math::internal::mdivide_left_spd_dv_vari< R1, C1, R2, C2 >::variRefC_ |
Definition at line 118 of file mdivide_left_spd.hpp.