Stan Math Library
5.0.0
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.
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.
#include <chainable_alloc.hpp>
Public Member Functions | |
chainable_alloc () | |
virtual | ~chainable_alloc () |