1 #ifndef STAN_LANG_AST_NODE_INDEX_OP_SLICED_HPP 2 #define STAN_LANG_AST_NODE_INDEX_OP_SLICED_HPP 45 const std::vector<idx>& idxs);
Probability, optimization and sampling library.
Structure of the type of an expression, which consists of a base type and a number of dimensions...
index_op_sliced()
Construct a default indexed expression (all nil).
expr_type type_
Type of result.
std::vector< idx > idxs_
Sequence of indexes.
AST structure for holding an expression with a sequence of indexes.
void infer_type()
Infer the type of the result.
expression expr_
Expression being indexed.