![]() |
Stan
2.14.0
probability, sampling & optimization
|
Structure to hold a Cholesky factor for a correlation matrix variable declaration. More...
#include <cholesky_corr_var_decl.hpp>
Public Member Functions | |
cholesky_corr_var_decl () | |
Construct a variable declaration for a Cholesky factor for a correlation matrix. More... | |
cholesky_corr_var_decl (const expression &K, const std::string &name, const std::vector< expression > &dims, const expression &def) | |
Construct a Cholesky factor variable declaration for a correlation matrix with the specified number of rows and columns, name, and number of array dimensions. More... | |
![]() | |
base_var_decl () | |
Construct a default base variable declaration. More... | |
base_var_decl (const base_expr_type &base_type) | |
Construct a base variable declaration of the specified type. More... | |
base_var_decl (const std::string &name, const std::vector< expression > &dims, const base_expr_type &base_type) | |
Construct a base variable declaration with the specified name, dimensions, and base type. More... | |
base_var_decl (const std::string &name, const std::vector< expression > &dims, const base_expr_type &base_type, const expression &def) | |
Construct a base variable declaration with the specified name, dimensions, base type, and definition. More... | |
Public Attributes | |
expression | K_ |
Number of rows and columns. More... | |
![]() | |
std::string | name_ |
Name of the variable. More... | |
std::vector< expression > | dims_ |
Dimension sizes for variable. More... | |
base_expr_type | base_type_ |
Base type for variable. More... | |
expression | def_ |
Definition for variable (nil if undefined). More... | |
Structure to hold a Cholesky factor for a correlation matrix variable declaration.
Definition at line 16 of file cholesky_corr_var_decl.hpp.
stan::lang::cholesky_corr_var_decl::cholesky_corr_var_decl | ( | ) |
Construct a variable declaration for a Cholesky factor for a correlation matrix.
Definition at line 11 of file cholesky_corr_var_decl_def.hpp.
stan::lang::cholesky_corr_var_decl::cholesky_corr_var_decl | ( | const expression & | K, |
const std::string & | name, | ||
const std::vector< expression > & | dims, | ||
const expression & | def | ||
) |
Construct a Cholesky factor variable declaration for a correlation matrix with the specified number of rows and columns, name, and number of array dimensions.
K | number of rows and columns |
name | variable name |
dims | array dimension sizes |
def | defition of variable |
Definition at line 14 of file cholesky_corr_var_decl_def.hpp.
expression stan::lang::cholesky_corr_var_decl::K_ |
Number of rows and columns.
Definition at line 20 of file cholesky_corr_var_decl.hpp.