Stan  1.3
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
Classes | Namespaces | Functions
var_stack.hpp File Reference
#include <vector>
#include <stan/memory/stack_alloc.hpp>

Go to the source code of this file.

Classes

class  stan::agrad::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. More...
 

Namespaces

namespace  stan
 Probability, optimization and sampling library.
 
namespace  stan::agrad
 Function gradients via reverse-mode automatic differentiation.
 

Functions

static void stan::agrad::recover_memory ()
 Recover memory used for all variables for reuse.
 
static void stan::agrad::free_memory ()
 Return all memory used for gradients back to the system.
 

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