Stan
2.14.0
probability, sampling & optimization
src
stan
lang
ast
node
ordered_var_decl_def.hpp
Go to the documentation of this file.
1
#ifndef STAN_LANG_AST_NODE_ORDERED_VAR_DECL_DEF_HPP
2
#define STAN_LANG_AST_NODE_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
11
ordered_var_decl::ordered_var_decl
() :
base_var_decl
(
VECTOR_T
) { }
12
13
ordered_var_decl::ordered_var_decl
(
const
expression
& K,
14
const
std::string& name,
15
const
std::vector<expression>& dims,
16
const
expression
& def)
17
18
:
base_var_decl
(name, dims,
VECTOR_T
, def),
K_
(K) { }
19
20
}
21
}
22
#endif
stan::lang::ordered_var_decl::K_
expression K_
Ordered vector size.
Definition:
ordered_var_decl.hpp:19
stan
Probability, optimization and sampling library.
Definition:
base_interrupt.hpp:4
stan::lang::expression
Definition:
expression.hpp:41
ast.hpp
stan::lang::base_var_decl
AST base class for variable declarations, which share most of their structure.
Definition:
base_var_decl.hpp:16
stan::lang::VECTOR_T
const int VECTOR_T
Column vector type; scalar type is real.
Definition:
base_expr_type.hpp:32
stan::lang::ordered_var_decl::ordered_var_decl
ordered_var_decl()
Construct a default ordered vector declaration.
Definition:
ordered_var_decl_def.hpp:11
[
Stan Home Page
]
© 2011–2016, Stan Development Team.