Stan
2.14.0
probability, sampling & optimization
src
stan
lang
ast
node
unit_vector_var_decl.hpp
Go to the documentation of this file.
1
#ifndef STAN_LANG_AST_NODE_UNIT_VECTOR_VAR_DECL_HPP
2
#define STAN_LANG_AST_NODE_UNIT_VECTOR_VAR_DECL_HPP
3
4
#include <
stan/lang/ast/node/base_var_decl.hpp
>
5
#include <
stan/lang/ast/node/expression.hpp
>
6
#include <string>
7
#include <vector>
8
9
namespace
stan
{
10
namespace
lang {
11
15
struct
unit_vector_var_decl
:
public
base_var_decl
{
19
expression
K_
;
20
24
unit_vector_var_decl
();
25
35
unit_vector_var_decl
(
const
expression
& K,
36
const
std::string& name,
37
const
std::vector<expression>& dims,
38
const
expression
& def);
39
};
40
}
41
}
42
#endif
stan::lang::unit_vector_var_decl::K_
expression K_
Unit vector size.
Definition:
unit_vector_var_decl.hpp:19
stan
Probability, optimization and sampling library.
Definition:
base_interrupt.hpp:4
stan::lang::expression
Definition:
expression.hpp:41
expression.hpp
stan::lang::unit_vector_var_decl
Structure to hold the declaration of a unit vector.
Definition:
unit_vector_var_decl.hpp:15
stan::lang::unit_vector_var_decl::unit_vector_var_decl
unit_vector_var_decl()
Construct a default unit vector declaration.
Definition:
unit_vector_var_decl_def.hpp:11
stan::lang::base_var_decl
AST base class for variable declarations, which share most of their structure.
Definition:
base_var_decl.hpp:16
base_var_decl.hpp
[
Stan Home Page
]
© 2011–2016, Stan Development Team.