Stan  2.14.0
probability, sampling & optimization
var_decl_base_type_vis.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_AST_FUN_VAR_DECL_BASE_TYPE_VIS_HPP
2 #define STAN_LANG_AST_FUN_VAR_DECL_BASE_TYPE_VIS_HPP
3 
18 #include <boost/variant/static_visitor.hpp>
19 #include <string>
20 
21 namespace stan {
22  namespace lang {
23 
29  : public boost::static_visitor<base_var_decl> {
34 
42  base_var_decl operator()(const nil& x) const;
43 
51  base_var_decl operator()(const int_var_decl& x) const;
52 
61 
70 
79 
88 
97 
106 
114  base_var_decl operator()(const ordered_var_decl& x) const;
115 
124 
133 
142 
151 
160  };
161 
162  }
163 }
164 #endif
An integer variable declaration and optional definition.
Structure to hold the declaration of a positive ordered vector.
Structure to hold a row vector variable declaration.
Probability, optimization and sampling library.
Structure to hold a covariance matrix variable declaration.
Structure to hold the declaration of a simplex.
Structure to hold a Cholesky factor for a correlation matrix variable declaration.
Visitor to extract base variable declaration from the variant types of a variable declaration...
Structure to hold the declaration of a unit vector.
var_decl_base_type_vis()
Construct a variable declaration visitor.
Structure to hold a matrix variable declaration.
Structure to hold a Cholesky factor variable declaration.
Structure to hold a column vector variable declaration.
Structure to hold a correlation matrix variable declaration.
AST base class for variable declarations, which share most of their structure.
base_var_decl operator()(const nil &x) const
Return the nil variable declaration for the specified nil variable declaration.
An integer variable declaration and optional definition.
Structure to hold the declaration of an ordered vector.
The nil structure used as a placeholder for undefined or empty values in several structures.
Definition: nil.hpp:11

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