1 #ifndef STAN_LANG_AST_NODE_SAMPLE_DEF_HPP 2 #define STAN_LANG_AST_NODE_SAMPLE_DEF_HPP expression high_
Upper bound of range with nil value if only upper bound.
bool is_ill_formed() const
Return true if the base type of this type is ill formed.
distribution dist_
Distribution of the variable.
range truncation_
The truncation range for the distribution.
bool has_low() const
Return true if the lower bound is non-nil.
Probability, optimization and sampling library.
bool is_ill_formed() const
Return true if the sampling statement is not well formed.
bool has_high() const
Return true if the upper bound is non-nil.
expr_type expression_type() const
Structure for a distribution with parameters.
bool is_discrete() const
Return true if the distribution is discrete.
expression expr_
The random variable.
expression low_
Lower bound of range with nil value if only upper bound.
sample()
Construct an uninitialized sampling statement.
bool is_discrete_
Discreteness flag.