Stan Math Library  2.20.0
reverse mode automatic differentiation
chainablestack.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_REV_CORE_CHAINABLESTACK_HPP
2 #define STAN_MATH_REV_CORE_CHAINABLESTACK_HPP
3 
5 
6 namespace stan {
7 namespace math {
8 
9 class vari;
11 
13 
14 } // namespace math
15 } // namespace stan
16 #endif
AutodiffStackSingleton< vari, chainable_alloc > ChainableStack
A chainable_alloc is an object which is constructed and destructed normally but the memory lifespan i...
This struct always provides access to the autodiff stack using the singleton pattern.

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