Stan  2.14.0
probability, sampling & optimization
Public Member Functions | List of all members
stan::lang::var_decl_has_def_vis Struct Reference

Variable declaration visitor functor for determining if a variable declaration includes a definition. More...

#include <var_decl_has_def_vis.hpp>

Inheritance diagram for stan::lang::var_decl_has_def_vis:

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

§ var_decl_has_def_vis()

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.

Member Function Documentation

§ operator()() [1/14]

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).

Parameters
xvariable declaration
Returns
false

Definition at line 11 of file var_decl_has_def_vis_def.hpp.

§ operator()() [2/14]

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.

Parameters
xvariable declaration
Returns
false

Definition at line 16 of file var_decl_has_def_vis_def.hpp.

§ operator()() [3/14]

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.

Parameters
xvariable declaration
Returns
false

Definition at line 21 of file var_decl_has_def_vis_def.hpp.

§ operator()() [4/14]

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.

Parameters
xvariable declaration
Returns
false

Definition at line 26 of file var_decl_has_def_vis_def.hpp.

§ operator()() [5/14]

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.

Parameters
xvariable declaration
Returns
false

Definition at line 31 of file var_decl_has_def_vis_def.hpp.

§ operator()() [6/14]

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.

Parameters
xvariable declaration
Returns
false

Definition at line 36 of file var_decl_has_def_vis_def.hpp.

§ operator()() [7/14]

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.

Parameters
xvariable declaration
Returns
false

Definition at line 46 of file var_decl_has_def_vis_def.hpp.

§ operator()() [8/14]

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.

Parameters
xvariable declaration
Returns
false

Definition at line 41 of file var_decl_has_def_vis_def.hpp.

§ operator()() [9/14]

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.

Parameters
xvariable declaration
Returns
false

Definition at line 51 of file var_decl_has_def_vis_def.hpp.

§ operator()() [10/14]

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.

Parameters
xvariable declaration
Returns
false

Definition at line 56 of file var_decl_has_def_vis_def.hpp.

§ operator()() [11/14]

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.

Parameters
xvariable declaration
Returns
false

Definition at line 61 of file var_decl_has_def_vis_def.hpp.

§ operator()() [12/14]

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.

Parameters
xvariable declaration
Returns
false

Definition at line 66 of file var_decl_has_def_vis_def.hpp.

§ operator()() [13/14]

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.

Parameters
xvariable declaration
Returns
false

Definition at line 71 of file var_decl_has_def_vis_def.hpp.

§ operator()() [14/14]

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.

Parameters
xvariable declaration
Returns
false

Definition at line 76 of file var_decl_has_def_vis_def.hpp.


The documentation for this struct was generated from the following files:

     [ Stan Home Page ] © 2011–2016, Stan Development Team.