Stan  2.14.0
probability, sampling & optimization
conditional_statement_def.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_AST_NODE_CONDITIONAL_STATEMENT_DEF_HPP
2 #define STAN_LANG_AST_NODE_CONDITIONAL_STATEMENT_DEF_HPP
3 
4 #include <stan/lang/ast.hpp>
5 #include <vector>
6 
7 namespace stan {
8  namespace lang {
9 
11 
13  ::conditional_statement(const std::vector<expression>& conditions,
14  const std::vector<statement>& bodies)
15  : conditions_(conditions), bodies_(bodies) { }
16 
17 
18 
19  }
20 }
21 #endif
Probability, optimization and sampling library.
std::vector< statement > bodies_
The sequence of bodies to execute.
conditional_statement()
Construct an empty conditional statement.
std::vector< expression > conditions_
The sequence of conditions (parallel with bodies).

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