![]() |
Stan
2.14.0
probability, sampling & optimization
|
Structure for an indexed expression. More...
#include <index_op.hpp>
Public Member Functions | |
index_op () | |
Construct a default indexed expression. More... | |
index_op (const expression &expr, const std::vector< std::vector< expression > > &dimss) | |
Construct an indexed expression with the specified expression and indices. More... | |
void | infer_type () |
Public Attributes | |
expression | expr_ |
Expression being indexed. More... | |
std::vector< std::vector< expression > > | dimss_ |
Sequence of sequences of indexes. More... | |
expr_type | type_ |
Type of indexed expression. More... | |
Structure for an indexed expression.
Definition at line 14 of file index_op.hpp.
stan::lang::index_op::index_op | ( | ) |
Construct a default indexed expression.
Definition at line 10 of file index_op_def.hpp.
stan::lang::index_op::index_op | ( | const expression & | expr, |
const std::vector< std::vector< expression > > & | dimss | ||
) |
Construct an indexed expression with the specified expression and indices.
expr | expression being indexed |
dimss | sequence of sequences of expressions |
Definition at line 12 of file index_op_def.hpp.
void stan::lang::index_op::infer_type | ( | ) |
Definition at line 18 of file index_op_def.hpp.
std::vector<std::vector<expression> > stan::lang::index_op::dimss_ |
Sequence of sequences of indexes.
Definition at line 23 of file index_op.hpp.
expression stan::lang::index_op::expr_ |
Expression being indexed.
Definition at line 18 of file index_op.hpp.
expr_type stan::lang::index_op::type_ |
Type of indexed expression.
Definition at line 28 of file index_op.hpp.