Stan  2.14.0
probability, sampling & optimization
expression_type_vis_def.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_AST_NODE_EXPRESSION_TYPE_VIS_DEF_HPP
2 #define STAN_LANG_AST_NODE_EXPRESSION_TYPE_VIS_DEF_HPP
3 
4 #include <stan/lang/ast.hpp>
5 
6 namespace stan {
7  namespace lang {
8 
10  return expr_type();
11  }
12 
14  return e.type_;
15  }
16 
18  return e.type_;
19  }
20 
22  return e.type_;
23  }
24 
26  return e.type_;
27  }
28 
30  return expr_type(DOUBLE_T, 2);
31  }
32 
33  expr_type
35  return expr_type(DOUBLE_T, 2);
36  }
37 
39  return e.type_;
40  }
41 
43  return e.type_;
44  }
45 
47  return e.type_;
48  }
49 
51  return e.type_;
52  }
53 
55  return e.type_;
56  }
57 
59  return e.type_;
60  }
61 
62  }
63 }
64 #endif
expr_type type_
Type of indexed expression.
Definition: index_op.hpp:28
expr_type type_
Type of result of applying function to arguments.
Definition: fun.hpp:37
Node for holding a double literal.
Probability, optimization and sampling library.
Structure to hold an array expression.
Definition: array_expr.hpp:17
Structure for an indexed expression.
Definition: index_op.hpp:14
expr_type type_
Type of result.
Definition: unary_op.hpp:28
expr_type operator()(const nil &e) const
const int DOUBLE_T
Real scalar type.
Structure for function application.
Definition: fun.hpp:17
Structure of the type of an expression, which consists of a base type and a number of dimensions...
Definition: expr_type.hpp:14
Structure for integrate diff eq statement.
expr_type type_
Type of variable.
Definition: variable.hpp:23
expr_type type_
Type of result.
Definition: binary_op.hpp:34
expr_type type_
Expression type of literal.
Definition: int_literal.hpp:18
expr_type type_
Type of array.
Definition: array_expr.hpp:26
expr_type type_
Type of result.
expr_type type_
Expression type.
AST structure for holding an expression with a sequence of indexes.
Structure for the conditional operator.
Structure to hold a variable.
Definition: variable.hpp:14
AST structure for unary operations consisting of an operation and argument.
Definition: unary_op.hpp:14
Node for storing binary operations consisting of an operation and left and right arguments.
Definition: binary_op.hpp:15
The nil structure used as a placeholder for undefined or empty values in several structures.
Definition: nil.hpp:11
Structure for a diff eq integration statement with control parameters for the integrator.
expr_type type_
Type of result.

     [ Stan Home Page ] © 2011–2016, Stan Development Team.