Stan  2.14.0
probability, sampling & optimization
idx_def.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_AST_NODE_IDX_DEF_HPP
2 #define STAN_LANG_AST_NODE_IDX_DEF_HPP
3 
4 #include <stan/lang/ast.hpp>
5 
6 namespace stan {
7  namespace lang {
8 
9  idx::idx() { }
10 
11  idx::idx(const uni_idx& i) : idx_(i) { }
12 
13  idx::idx(const multi_idx& i) : idx_(i) { }
14 
15  idx::idx(const omni_idx& i) : idx_(i) { }
16 
17  idx::idx(const lb_idx& i) : idx_(i) { }
18 
19  idx::idx(const ub_idx& i) : idx_(i) { }
20 
21  idx::idx(const lub_idx& i) : idx_(i) { }
22 
23  }
24 }
25 #endif
AST structure to hold a single array or matrix/vector index.
Definition: uni_idx.hpp:12
Probability, optimization and sampling library.
AST structure for lower and upper bounds.
Definition: lub_idx.hpp:12
AST structure for holding an upper-bound index.
Definition: ub_idx.hpp:12
AST structure for representing all legal indexes.
Definition: omni_idx.hpp:10
idx()
Construct a default index.
Definition: idx_def.hpp:9
AST structure for holding a lower-bound index.
Definition: lb_idx.hpp:12
idx_t idx_
The index variant object.
Definition: idx.hpp:82

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