Stan  2.14.0
probability, sampling & optimization
array_expr_def.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_AST_NODE_ARRAY_EXPR_DEF_HPP
2 #define STAN_LANG_AST_NODE_ARRAY_EXPR_DEF_HPP
3 
4 #include <stan/lang/ast.hpp>
5 #include <vector>
6 
7 namespace stan {
8  namespace lang {
9 
10  array_expr::array_expr() : args_(), type_(DOUBLE_T, 1U) { }
11 
12  array_expr::array_expr(const std::vector<expression>& args)
13  : args_(args), type_() { }
14 
16  args_ = al.args_;
17  type_ = al.type_;
18  return *this;
19  }
20 
21  }
22 }
23 #endif
std::vector< expression > args_
Sequence of expressions for array values.
Definition: array_expr.hpp:21
Probability, optimization and sampling library.
Structure to hold an array expression.
Definition: array_expr.hpp:17
const int DOUBLE_T
Real scalar type.
array_expr()
Construct a default array expression.
expr_type type_
Type of array.
Definition: array_expr.hpp:26
array_expr & operator=(const array_expr &al)
Assign specified array expression to this array expression.

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