![]() |
Stan Math Library
2.11.0
reverse mode automatic differentiation
|
#include <vector_vari.hpp>
Public Member Functions | |
| op_vector_vari (double f, const std::vector< stan::math::var > &vs) | |
| vari * | operator[] (size_t n) const |
| size_t | size () |
Public Member Functions inherited from stan::math::vari | |
| 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 | chain () |
| Apply the chain rule to this variable based on the variables on which it depends. 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... | |
Protected Attributes | |
| const size_t | size_ |
| vari ** | vis_ |
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... | |
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... | |
Definition at line 11 of file vector_vari.hpp.
|
inline |
Definition at line 16 of file vector_vari.hpp.
|
inline |
Definition at line 24 of file vector_vari.hpp.
|
inline |
Definition at line 27 of file vector_vari.hpp.
|
protected |
Definition at line 13 of file vector_vari.hpp.
|
protected |
Definition at line 14 of file vector_vari.hpp.