![]() |
Stan
1.1
probability, sampling & optimization
|
#include <matrix.hpp>
Public Member Functions | |
| mdivide_left_tri_vv_vari (const Eigen::Matrix< var, 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. | |
Public Member Functions inherited from stan::agrad::vari | |
| vari (const double x) | |
| Construct a variable implementation from a value. | |
| vari (const double x, bool stacked) | |
| ~vari () | |
| Throw an illegal argument exception. | |
| virtual void | init_dependent () |
| Initialize the adjoint for this (dependent) variable to 1. | |
| virtual void | set_zero_adjoint () |
| Set the adjoint value of this variable to 0. | |
| vari (const double x) | |
| Construct a variable implementation from a value. | |
Public Member Functions inherited from stan::agrad::chainable | |
| chainable () | |
| Construct a chainable object. | |
| ~chainable () | |
| Throws a logic exception. | |
Public Attributes | |
| Eigen::Matrix< double, R1, C1 > | _A |
| Eigen::Matrix< double, R1, C2 > | _C |
| Eigen::Matrix< vari *, R1, C1 > | _variRefA |
| Eigen::Matrix< vari *, R2, C2 > | _variRefB |
| Eigen::Matrix< vari *, R1, C2 > | _variRefC |
Public Attributes inherited from stan::agrad::vari | |
| const double | val_ |
| The value of this variable. | |
| double | adj_ |
| The adjoint of this variable, which is the partial derivative of this variable with respect to the root variable. | |
Additional Inherited Members | |
Static Public Member Functions inherited from stan::agrad::vari | |
| static void * | operator new (size_t nbytes) |
| Allocate memory from the underlying memory pool. | |
| static void | recover_memory () |
| Recover memory used for all variables for reuse. | |
| static void | free_memory () |
| Return all memory used for gradients back to the system. | |
Definition at line 1170 of file matrix.hpp.
|
inline |
Definition at line 1179 of file matrix.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::agrad::vari.
Definition at line 1211 of file matrix.hpp.
| Eigen::Matrix<double,R1,C1> stan::agrad::mdivide_left_tri_vv_vari< TriView, R1, C1, R2, C2 >::_A |
Definition at line 1172 of file matrix.hpp.
| Eigen::Matrix<double,R1,C2> stan::agrad::mdivide_left_tri_vv_vari< TriView, R1, C1, R2, C2 >::_C |
Definition at line 1173 of file matrix.hpp.
| Eigen::Matrix<vari*,R1,C1> stan::agrad::mdivide_left_tri_vv_vari< TriView, R1, C1, R2, C2 >::_variRefA |
Definition at line 1175 of file matrix.hpp.
| Eigen::Matrix<vari*,R2,C2> stan::agrad::mdivide_left_tri_vv_vari< TriView, R1, C1, R2, C2 >::_variRefB |
Definition at line 1176 of file matrix.hpp.
| Eigen::Matrix<vari*,R1,C2> stan::agrad::mdivide_left_tri_vv_vari< TriView, R1, C1, R2, C2 >::_variRefC |
Definition at line 1177 of file matrix.hpp.