![]() |
Stan
2.14.0
probability, sampling & optimization
|
Variable declaration visitor functor for determining if a variable declaration includes a definition. More...
#include <var_decl_has_def_vis.hpp>
Public Member Functions | |
var_decl_has_def_vis () | |
Construct the visitor. More... | |
bool | operator() (const nil &x) const |
Return true if the specified variable declaration includes a variable definition (always false for the nil declaration). More... | |
bool | operator() (const int_var_decl &x) const |
Return true if the specified variable declaration includes a variable definition. More... | |
bool | operator() (const double_var_decl &x) const |
Return true if the specified variable declaration includes a variable definition. More... | |
bool | operator() (const vector_var_decl &x) const |
Return true if the specified variable declaration includes a variable definition. More... | |
bool | operator() (const row_vector_var_decl &x) const |
Return true if the specified variable declaration includes a variable definition. More... | |
bool | operator() (const matrix_var_decl &x) const |
Return true if the specified variable declaration includes a variable definition. More... | |
bool | operator() (const simplex_var_decl &x) const |
Return true if the specified variable declaration includes a variable definition. More... | |
bool | operator() (const unit_vector_var_decl &x) const |
Return true if the specified variable declaration includes a variable definition. More... | |
bool | operator() (const ordered_var_decl &x) const |
Return true if the specified variable declaration includes a variable definition. More... | |
bool | operator() (const positive_ordered_var_decl &x) const |
Return true if the specified variable declaration includes a variable definition. More... | |
bool | operator() (const cholesky_factor_var_decl &x) const |
Return true if the specified variable declaration includes a variable definition. More... | |
bool | operator() (const cholesky_corr_var_decl &x) const |
Return true if the specified variable declaration includes a variable definition. More... | |
bool | operator() (const cov_matrix_var_decl &x) const |
Return true if the specified variable declaration includes a variable definition. More... | |
bool | operator() (const corr_matrix_var_decl &x) const |
Return true if the specified variable declaration includes a variable definition. More... | |
Variable declaration visitor functor for determining if a variable declaration includes a definition.
Definition at line 28 of file var_decl_has_def_vis.hpp.
stan::lang::var_decl_has_def_vis::var_decl_has_def_vis | ( | ) |
Construct the visitor.
Definition at line 9 of file var_decl_has_def_vis_def.hpp.
bool stan::lang::var_decl_has_def_vis::operator() | ( | const nil & | x | ) | const |
Return true if the specified variable declaration includes a variable definition (always false for the nil declaration).
x | variable declaration |
Definition at line 11 of file var_decl_has_def_vis_def.hpp.
bool stan::lang::var_decl_has_def_vis::operator() | ( | const int_var_decl & | x | ) | const |
Return true if the specified variable declaration includes a variable definition.
x | variable declaration |
Definition at line 16 of file var_decl_has_def_vis_def.hpp.
bool stan::lang::var_decl_has_def_vis::operator() | ( | const double_var_decl & | x | ) | const |
Return true if the specified variable declaration includes a variable definition.
x | variable declaration |
Definition at line 21 of file var_decl_has_def_vis_def.hpp.
bool stan::lang::var_decl_has_def_vis::operator() | ( | const vector_var_decl & | x | ) | const |
Return true if the specified variable declaration includes a variable definition.
x | variable declaration |
Definition at line 26 of file var_decl_has_def_vis_def.hpp.
bool stan::lang::var_decl_has_def_vis::operator() | ( | const row_vector_var_decl & | x | ) | const |
Return true if the specified variable declaration includes a variable definition.
x | variable declaration |
Definition at line 31 of file var_decl_has_def_vis_def.hpp.
bool stan::lang::var_decl_has_def_vis::operator() | ( | const matrix_var_decl & | x | ) | const |
Return true if the specified variable declaration includes a variable definition.
x | variable declaration |
Definition at line 36 of file var_decl_has_def_vis_def.hpp.
bool stan::lang::var_decl_has_def_vis::operator() | ( | const simplex_var_decl & | x | ) | const |
Return true if the specified variable declaration includes a variable definition.
x | variable declaration |
Definition at line 46 of file var_decl_has_def_vis_def.hpp.
bool stan::lang::var_decl_has_def_vis::operator() | ( | const unit_vector_var_decl & | x | ) | const |
Return true if the specified variable declaration includes a variable definition.
x | variable declaration |
Definition at line 41 of file var_decl_has_def_vis_def.hpp.
bool stan::lang::var_decl_has_def_vis::operator() | ( | const ordered_var_decl & | x | ) | const |
Return true if the specified variable declaration includes a variable definition.
x | variable declaration |
Definition at line 51 of file var_decl_has_def_vis_def.hpp.
bool stan::lang::var_decl_has_def_vis::operator() | ( | const positive_ordered_var_decl & | x | ) | const |
Return true if the specified variable declaration includes a variable definition.
x | variable declaration |
Definition at line 56 of file var_decl_has_def_vis_def.hpp.
bool stan::lang::var_decl_has_def_vis::operator() | ( | const cholesky_factor_var_decl & | x | ) | const |
Return true if the specified variable declaration includes a variable definition.
x | variable declaration |
Definition at line 61 of file var_decl_has_def_vis_def.hpp.
bool stan::lang::var_decl_has_def_vis::operator() | ( | const cholesky_corr_var_decl & | x | ) | const |
Return true if the specified variable declaration includes a variable definition.
x | variable declaration |
Definition at line 66 of file var_decl_has_def_vis_def.hpp.
bool stan::lang::var_decl_has_def_vis::operator() | ( | const cov_matrix_var_decl & | x | ) | const |
Return true if the specified variable declaration includes a variable definition.
x | variable declaration |
Definition at line 71 of file var_decl_has_def_vis_def.hpp.
bool stan::lang::var_decl_has_def_vis::operator() | ( | const corr_matrix_var_decl & | x | ) | const |
Return true if the specified variable declaration includes a variable definition.
x | variable declaration |
Definition at line 76 of file var_decl_has_def_vis_def.hpp.