1 #ifndef STAN_MATH_REV_CORE_CHAINABLESTACK_HPP 2 #define STAN_MATH_REV_CORE_CHAINABLESTACK_HPP
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.