1 #ifndef STAN_LANG_AST_FUN_HAS_VAR_DEF_HPP 2 #define STAN_LANG_AST_FUN_HAS_VAR_DEF_HPP 5 #include <boost/variant/apply_visitor.hpp> 12 return boost::apply_visitor(vis, e.
expr_);
Probability, optimization and sampling library.
A map from function names to their base declarations and their origin.
Visitor to detect if an expression contains a non-data variable.
bool has_var(const expression &e, const variable_map &var_map)
Returns true if the specified expression contains a variable that is defined as a parameter...