Stan  2.14.0
probability, sampling & optimization
matrix_var_decl.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_AST_NODE_MATRIX_VAR_DECL_HPP
2 #define STAN_LANG_AST_NODE_MATRIX_VAR_DECL_HPP
3 
7 #include <string>
8 #include <vector>
9 
10 namespace stan {
11  namespace lang {
12 
16  struct matrix_var_decl : public base_var_decl {
21 
26 
31 
36 
50  const expression& M,
51  const expression& N,
52  const std::string& name,
53  const std::vector<expression>& dims,
54  const expression& def);
55  };
56  }
57 }
58 #endif
Probability, optimization and sampling library.
AST structure for a range object with a low and high value.
Definition: range.hpp:14
Structure to hold a matrix variable declaration.
range range_
Optional lower and upper bound constraints.
expression N_
Number of columns.
AST base class for variable declarations, which share most of their structure.
matrix_var_decl()
Construct a matrix variable declaration with default values.
expression M_
Number of rows.

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