1 #ifndef STAN_MATH_REV_CORE_START_NESTED_HPP 2 #define STAN_MATH_REV_CORE_START_NESTED_HPP
static stack_alloc memalloc_
static std::vector< ChainableAllocT * > var_alloc_stack_
static std::vector< ChainableT * > var_nochain_stack_
static std::vector< size_t > nested_var_nochain_stack_sizes_
static std::vector< size_t > nested_var_stack_sizes_
int size(const std::vector< T > &x)
Return the size of the specified standard vector.
void start_nested()
Store current positions before doing nested operation so can recover back to start.
static std::vector< ChainableT * > var_stack_
static void start_nested()
Record the current position so that recover_memory_nested() can find it.
static std::vector< size_t > nested_var_alloc_stack_starts_