Stan Math Library  2.6.3
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros
nested_size.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_REV_CORE_NESTED_SIZE_HPP
2 #define STAN_MATH_REV_CORE_NESTED_SIZE_HPP
3 
7 #include <cstdlib>
8 
9 namespace stan {
10  namespace math {
11 
12  static inline size_t nested_size() {
13  return ChainableStack::var_stack_.size()
15  }
16 
17  }
18 }
19 #endif
static size_t nested_size()
Definition: nested_size.hpp:12
static std::vector< size_t > nested_var_stack_sizes_
static std::vector< ChainableT * > var_stack_

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