Stan  2.14.0
probability, sampling & optimization
variable_dims_def.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_AST_NODE_VARIABLE_DIMS_DEF_HPP
2 #define STAN_LANG_AST_NODE_VARIABLE_DIMS_DEF_HPP
3 
4 #include <stan/lang/ast.hpp>
5 #include <string>
6 #include <vector>
7 
8 namespace stan {
9  namespace lang {
10 
12 
13  variable_dims::variable_dims(const std::string& name,
14  const std::vector<expression>& dims)
15  : name_(name), dims_(dims) { }
16 
17  }
18 }
19 #endif
Probability, optimization and sampling library.
std::vector< expression > dims_
Sequence of expressions for dimensions.
std::string name_
Name of the variable.
variable_dims()
Construct a default object.

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