![]() |
Stan
2.14.0
probability, sampling & optimization
|
Visitor to extract base variable declaration from the variant types of a variable declaration. More...
#include <var_decl_base_type_vis.hpp>
Public Member Functions | |
var_decl_base_type_vis () | |
Construct a variable declaration visitor. More... | |
base_var_decl | operator() (const nil &x) const |
Return the nil variable declaration for the specified nil variable declaration. More... | |
base_var_decl | operator() (const int_var_decl &x) const |
Return the base variable declaration for the specified variable declaration. More... | |
base_var_decl | operator() (const double_var_decl &x) const |
Return the base variable declaration for the specified variable declaration. More... | |
base_var_decl | operator() (const vector_var_decl &x) const |
Return the base variable declaration for the specified variable declaration. More... | |
base_var_decl | operator() (const row_vector_var_decl &x) const |
Return the base variable declaration for the specified variable declaration. More... | |
base_var_decl | operator() (const matrix_var_decl &x) const |
Return the base variable declaration for the specified variable declaration. More... | |
base_var_decl | operator() (const simplex_var_decl &x) const |
Return the base variable declaration for the specified variable declaration. More... | |
base_var_decl | operator() (const unit_vector_var_decl &x) const |
Return the base variable declaration for the specified variable declaration. More... | |
base_var_decl | operator() (const ordered_var_decl &x) const |
Return the base variable declaration for the specified variable declaration. More... | |
base_var_decl | operator() (const positive_ordered_var_decl &x) const |
Return the base variable declaration for the specified variable declaration. More... | |
base_var_decl | operator() (const cholesky_factor_var_decl &x) const |
Return the base variable declaration for the specified variable declaration. More... | |
base_var_decl | operator() (const cholesky_corr_var_decl &x) const |
Return the base variable declaration for the specified variable declaration. More... | |
base_var_decl | operator() (const cov_matrix_var_decl &x) const |
Return the base variable declaration for the specified variable declaration. More... | |
base_var_decl | operator() (const corr_matrix_var_decl &x) const |
Return the base variable declaration for the specified variable declaration. More... | |
Visitor to extract base variable declaration from the variant types of a variable declaration.
Definition at line 28 of file var_decl_base_type_vis.hpp.
stan::lang::var_decl_base_type_vis::var_decl_base_type_vis | ( | ) |
Construct a variable declaration visitor.
Definition at line 9 of file var_decl_base_type_vis_def.hpp.
base_var_decl stan::lang::var_decl_base_type_vis::operator() | ( | const nil & | x | ) | const |
Return the nil variable declaration for the specified nil variable declaration.
x | variable declaration |
Definition at line 11 of file var_decl_base_type_vis_def.hpp.
base_var_decl stan::lang::var_decl_base_type_vis::operator() | ( | const int_var_decl & | x | ) | const |
Return the base variable declaration for the specified variable declaration.
x | variable declaration |
Definition at line 16 of file var_decl_base_type_vis_def.hpp.
base_var_decl stan::lang::var_decl_base_type_vis::operator() | ( | const double_var_decl & | x | ) | const |
Return the base variable declaration for the specified variable declaration.
x | variable declaration |
Definition at line 21 of file var_decl_base_type_vis_def.hpp.
base_var_decl stan::lang::var_decl_base_type_vis::operator() | ( | const vector_var_decl & | x | ) | const |
Return the base variable declaration for the specified variable declaration.
x | variable declaration |
Definition at line 26 of file var_decl_base_type_vis_def.hpp.
base_var_decl stan::lang::var_decl_base_type_vis::operator() | ( | const row_vector_var_decl & | x | ) | const |
Return the base variable declaration for the specified variable declaration.
x | variable declaration |
Definition at line 31 of file var_decl_base_type_vis_def.hpp.
base_var_decl stan::lang::var_decl_base_type_vis::operator() | ( | const matrix_var_decl & | x | ) | const |
Return the base variable declaration for the specified variable declaration.
x | variable declaration |
Definition at line 36 of file var_decl_base_type_vis_def.hpp.
base_var_decl stan::lang::var_decl_base_type_vis::operator() | ( | const simplex_var_decl & | x | ) | const |
Return the base variable declaration for the specified variable declaration.
x | variable declaration |
Definition at line 46 of file var_decl_base_type_vis_def.hpp.
base_var_decl stan::lang::var_decl_base_type_vis::operator() | ( | const unit_vector_var_decl & | x | ) | const |
Return the base variable declaration for the specified variable declaration.
x | variable declaration |
Definition at line 41 of file var_decl_base_type_vis_def.hpp.
base_var_decl stan::lang::var_decl_base_type_vis::operator() | ( | const ordered_var_decl & | x | ) | const |
Return the base variable declaration for the specified variable declaration.
x | variable declaration |
Definition at line 51 of file var_decl_base_type_vis_def.hpp.
base_var_decl stan::lang::var_decl_base_type_vis::operator() | ( | const positive_ordered_var_decl & | x | ) | const |
Return the base variable declaration for the specified variable declaration.
x | variable declaration |
Definition at line 56 of file var_decl_base_type_vis_def.hpp.
base_var_decl stan::lang::var_decl_base_type_vis::operator() | ( | const cholesky_factor_var_decl & | x | ) | const |
Return the base variable declaration for the specified variable declaration.
x | variable declaration |
Definition at line 61 of file var_decl_base_type_vis_def.hpp.
base_var_decl stan::lang::var_decl_base_type_vis::operator() | ( | const cholesky_corr_var_decl & | x | ) | const |
Return the base variable declaration for the specified variable declaration.
x | variable declaration |
Definition at line 66 of file var_decl_base_type_vis_def.hpp.
base_var_decl stan::lang::var_decl_base_type_vis::operator() | ( | const cov_matrix_var_decl & | x | ) | const |
Return the base variable declaration for the specified variable declaration.
x | variable declaration |
Definition at line 71 of file var_decl_base_type_vis_def.hpp.
base_var_decl stan::lang::var_decl_base_type_vis::operator() | ( | const corr_matrix_var_decl & | x | ) | const |
Return the base variable declaration for the specified variable declaration.
x | variable declaration |
Definition at line 76 of file var_decl_base_type_vis_def.hpp.