Stan  2.14.0
probability, sampling & optimization
row_vector_var_decl_def.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_AST_NODE_ROW_VECTOR_VAR_DECL_DEF_HPP
2 #define STAN_LANG_AST_NODE_ROW_VECTOR_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 
14  const expression& N,
15  const std::string& name,
16  const std::vector<expression>& dims,
17  const expression& def)
18  : base_var_decl(name, dims, ROW_VECTOR_T, def), range_(range), N_(N) { }
19 
20  }
21 }
22 #endif
const int ROW_VECTOR_T
Row vector type; scalar type is real.
Probability, optimization and sampling library.
row_vector_var_decl()
Construct a row vector variable declaration with default values.
expression N_
Number of columns in the row vector (its size).
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.
range range_
Option lower and upper bounds for values in the vector.

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