1 #ifndef STAN_LANG_AST_NODE_BASE_VAR_DECL_HPP 2 #define STAN_LANG_AST_NODE_BASE_VAR_DECL_HPP 59 const std::vector<expression>& dims,
72 const std::vector<expression>& dims,
std::vector< expression > dims_
Dimension sizes for variable.
Probability, optimization and sampling library.
int base_expr_type
The type of a base expression.
base_var_decl()
Construct a default base variable declaration.
std::string name_
Name of the variable.
base_expr_type base_type_
Base type for variable.
AST base class for variable declarations, which share most of their structure.
expression def_
Definition for variable (nil if undefined).