1 #ifndef STAN_LANG_AST_NODE_VARIABLE_HPP 2 #define STAN_LANG_AST_NODE_VARIABLE_HPP
std::string name_
Name of variable.
Probability, optimization and sampling library.
int base_expr_type
The type of a base expression.
Structure of the type of an expression, which consists of a base type and a number of dimensions...
expr_type type_
Type of variable.
Structure to hold a variable.
void set_type(const base_expr_type &base_type, std::size_t num_dims)
Set the type of the variable to the expression type with the specified base type and number of dimens...
variable()
Construct a default variable.