Stan  2.14.0
probability, sampling & optimization
int_var_decl.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_AST_NODE_INT_VAR_DECL_HPP
2 #define STAN_LANG_AST_NODE_INT_VAR_DECL_HPP
3 
7 #include <string>
8 #include <vector>
9 
10 namespace stan {
11  namespace lang {
12 
16  struct int_var_decl : public base_var_decl {
22 
27  int_var_decl();
28 
38  int_var_decl(const range& range,
39  const std::string& name,
40  const std::vector<expression>& dims,
41  const expression& def);
42  };
43  }
44 }
45 #endif
An integer variable declaration and optional definition.
range range_
Range constraint on values with optional lower and upper bounds.
Probability, optimization and sampling library.
int_var_decl()
Construct an integer variable declaration with default values.
AST structure for a range object with a low and high value.
Definition: range.hpp:14
AST base class for variable declarations, which share most of their structure.

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