Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
stan::agrad::chainable_alloc Class Reference

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 <var_stack.hpp>

Inheritance diagram for stan::agrad::chainable_alloc:
stan::agrad::LDLT_alloc< R, C >

Public Member Functions

 chainable_alloc ()
 
virtual ~chainable_alloc ()
 

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 should never be created on the stack, only with a new call.

Definition at line 31 of file var_stack.hpp.

Constructor & Destructor Documentation

stan::agrad::chainable_alloc::chainable_alloc ( )
inline

Definition at line 33 of file var_stack.hpp.

virtual stan::agrad::chainable_alloc::~chainable_alloc ( )
inlinevirtual

Definition at line 36 of file var_stack.hpp.


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

     [ Stan Home Page ] © 2011–2014, Stan Development Team.