Automatic Differentiation
 
Loading...
Searching...
No Matches
stan::math::chainable_alloc Class Reference

Detailed Description

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>

+ Inheritance diagram for stan::math::chainable_alloc:

Public Member Functions

 chainable_alloc ()
 
virtual ~chainable_alloc ()
 

The documentation for this class was generated from the following file: