Stan  2.14.0
probability, sampling & optimization
infer_type_indexing.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_AST_FUN_INFER_TYPE_INDEXING_HPP
2 #define STAN_LANG_AST_FUN_INFER_TYPE_INDEXING_HPP
3 
4 
5 
8 #include <cstddef>
9 
10 namespace stan {
11  namespace lang {
12 
13  struct expression;
14 
26  expr_type infer_type_indexing(const base_expr_type& base_type,
27  std::size_t dims, std::size_t num_indexes);
28 
29 
30 
31 
40  expr_type infer_type_indexing(const expression& expr,
41  std::size_t num_indexes);
42  }
43 }
44 #endif
Probability, optimization and sampling library.
expr_type infer_type_indexing(const base_expr_type &base_type, std::size_t dims, std::size_t num_indexes)
Return the expression type resulting from indexing an expression of the specified base type and numbe...
int base_expr_type
The type of a base expression.

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