1 #ifndef STAN_LANG_AST_NODE_EXPRESSION_DEF_HPP 2 #define STAN_LANG_AST_NODE_EXPRESSION_DEF_HPP 68 return boost::apply_visitor(vis,
expr_);
const int ROW_VECTOR_T
Row vector type; scalar type is real.
expression & operator-=(const expression &rhs)
std::size_t num_dims_
The number of array dimensions.
Node for holding a double literal.
Probability, optimization and sampling library.
Structure to hold an array expression.
Structure for an indexed expression.
Callback functor for calculating expression types from the variant types making up an expression...
Structure for function application.
Structure of the type of an expression, which consists of a base type and a number of dimensions...
Structure for integrate diff eq statement.
expr_type expression_type() const
expression & operator*=(const expression &rhs)
expression & operator+=(const expression &rhs)
boost::variant< boost::recursive_wrapper< nil >, boost::recursive_wrapper< int_literal >, boost::recursive_wrapper< double_literal >, boost::recursive_wrapper< array_expr >, boost::recursive_wrapper< variable >, boost::recursive_wrapper< integrate_ode >, boost::recursive_wrapper< integrate_ode_control >, boost::recursive_wrapper< fun >, boost::recursive_wrapper< index_op >, boost::recursive_wrapper< index_op_sliced >, boost::recursive_wrapper< conditional_op >, boost::recursive_wrapper< binary_op >, boost::recursive_wrapper< unary_op > > expression_t
AST structure for holding an expression with a sequence of indexes.
Structure for the conditional operator.
const int VECTOR_T
Column vector type; scalar type is real.
Structure to hold a variable.
AST structure for unary operations consisting of an operation and argument.
Node for storing binary operations consisting of an operation and left and right arguments.
The nil structure used as a placeholder for undefined or empty values in several structures.
const int MATRIX_T
Matrix type; scalar type is real.
expression & operator/=(const expression &rhs)
Structure for a diff eq integration statement with control parameters for the integrator.