1 #ifndef STAN_LANG_AST_FUN_PROMOTE_PRIMITIVE_DEF_HPP 2 #define STAN_LANG_AST_FUN_PROMOTE_PRIMITIVE_DEF_HPP
Probability, optimization and sampling library.
const int DOUBLE_T
Real scalar type.
Structure of the type of an expression, which consists of a base type and a number of dimensions...
base_expr_type type() const
Return the base type of this expression type.
expr_type promote_primitive(const expr_type &et)
bool is_primitive() const
Return true if this expression type is an integer or real type with zero dimensions.