Stan  2.14.0
probability, sampling & optimization
indexed_type.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_AST_FUN_INDEXED_TYPE_HPP
2 #define STAN_LANG_AST_FUN_INDEXED_TYPE_HPP
3 
4 #include <vector>
5 
6 namespace stan {
7  namespace lang {
8 
9  struct expr_type;
10  struct expression;
11  struct idx;
12 
22  expr_type indexed_type(const expression& e, const std::vector<idx>& idxs);
23 
24  }
25 }
26 #endif
Probability, optimization and sampling library.
expr_type indexed_type(const expression &e, const std::vector< idx > &idxs)
Return the type of the expression indexed by the generalized index sequence.

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