1 #ifndef STAN_LANG_AST_NODE_SAMPLE_HPP 2 #define STAN_LANG_AST_NODE_SAMPLE_HPP distribution dist_
Distribution of the variable.
range truncation_
The truncation range for the distribution.
Probability, optimization and sampling library.
bool is_ill_formed() const
Return true if the sampling statement is not well formed.
AST node for sampling statements.
Structure for a distribution with parameters.
AST structure for a range object with a low and high value.
bool is_discrete() const
Return true if the distribution is discrete.
expression expr_
The random variable.
sample()
Construct an uninitialized sampling statement.
bool is_discrete_
Discreteness flag.