Stan
2.14.0
probability, sampling & optimization
src
stan
lang
ast
node
cholesky_factor_var_decl_def.hpp
Go to the documentation of this file.
1
#ifndef STAN_LANG_AST_NODE_CHOLESKY_FACTOR_VAR_DECL_DEF_HPP
2
#define STAN_LANG_AST_NODE_CHOLESKY_FACTOR_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
cholesky_factor_var_decl::cholesky_factor_var_decl
()
12
:
base_var_decl
(
MATRIX_T
) { }
13
14
cholesky_factor_var_decl::cholesky_factor_var_decl
(
const
expression
& M,
15
const
expression
& N,
16
const
std::string& name,
17
const
std::vector<expression>& dims,
18
const
expression
& def)
19
20
:
base_var_decl
(name, dims,
MATRIX_T
, def),
M_
(M),
N_
(N) { }
21
22
}
23
}
24
#endif
stan
Probability, optimization and sampling library.
Definition:
base_interrupt.hpp:4
stan::lang::expression
Definition:
expression.hpp:41
stan::lang::cholesky_factor_var_decl::N_
expression N_
Number of columns.
Definition:
cholesky_factor_var_decl.hpp:24
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::cholesky_factor_var_decl::cholesky_factor_var_decl
cholesky_factor_var_decl()
Construct a Cholesky factor variable declaration with default values.
Definition:
cholesky_factor_var_decl_def.hpp:11
stan::lang::MATRIX_T
const int MATRIX_T
Matrix type; scalar type is real.
Definition:
base_expr_type.hpp:42
stan::lang::cholesky_factor_var_decl::M_
expression M_
Number of rows.
Definition:
cholesky_factor_var_decl.hpp:19
[
Stan Home Page
]
© 2011–2016, Stan Development Team.