Stan  2.14.0
probability, sampling & optimization
positive_ordered_var_decl_def.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_AST_NODE_POSITIVE_ORDERED_VAR_DECL_DEF_HPP
2 #define STAN_LANG_AST_NODE_POSITIVE_ORDERED_VAR_DECL_DEF_HPP
3 
4 #include <stan/lang/ast.hpp>
5 #include <string>
6 #include <vector>
7 
8 namespace stan {
9  namespace lang {
10 
12  : base_var_decl(VECTOR_T) { }
13 
15  const std::string& name,
16  const std::vector<expression>& dims,
17  const expression& def)
18 
19  : base_var_decl(name, dims, VECTOR_T, def), K_(K) { }
20 
21  }
22 }
23 #endif
Probability, optimization and sampling library.
positive_ordered_var_decl()
Construct a default positive ordered vector declaration.
AST base class for variable declarations, which share most of their structure.
const int VECTOR_T
Column vector type; scalar type is real.
expression K_
Positive rdered vector size.

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