![]() |
Stan Math Library
2.10.0
reverse mode automatic differentiation
|
A chainable_alloc is an object which is constructed and destructed normally but the memory lifespan is managed along with the arena allocator for the gradient calculation. More...
#include <chainable_alloc.hpp>
Public Member Functions | |
chainable_alloc () | |
virtual | ~chainable_alloc () |
A chainable_alloc is an object which is constructed and destructed normally but the memory lifespan is managed along with the arena allocator for the gradient calculation.
A chainable_alloc instance must be created with a call to operator new for memory management.
Definition at line 16 of file chainable_alloc.hpp.
|
inline |
Definition at line 18 of file chainable_alloc.hpp.
|
inlinevirtual |
Definition at line 21 of file chainable_alloc.hpp.