Stan Math Library  2.20.0
reverse mode automatic differentiation
chainable_alloc.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_REV_CORE_CHAINABLE_ALLOC_HPP
2 #define STAN_MATH_REV_CORE_CHAINABLE_ALLOC_HPP
3 
5 
6 namespace stan {
7 namespace math {
8 
17  public:
20  }
21  virtual ~chainable_alloc() {}
22 };
23 
24 } // namespace math
25 } // namespace stan
26 #endif
static STAN_THREADS_DEF AutodiffStackStorage * instance_
A chainable_alloc is an object which is constructed and destructed normally but the memory lifespan i...

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