Stan  2.14.0
probability, sampling & optimization
uni_idx_def.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_AST_NODE_UNI_IDX_DEF_HPP
2 #define STAN_LANG_AST_NODE_UNI_IDX_DEF_HPP
3 
4 #include <stan/lang/ast.hpp>
5 
6 namespace stan {
7  namespace lang {
8 
10 
11  uni_idx::uni_idx(const expression& idx) : idx_(idx) { }
12 
13  }
14 }
15 #endif
Probability, optimization and sampling library.
uni_idx()
Construct a default unary index.
Definition: uni_idx_def.hpp:9
expression idx_
Index.
Definition: uni_idx.hpp:16
AST variant structure for indexes, holding any of a unary, multi, omni, lower-bound, upper-bound, or lower- and upper-bound index.
Definition: idx.hpp:20

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