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

Visitor to return the definition in a variable declaration. More...

#include <var_decl_def_vis.hpp>

Inheritance diagram for stan::lang::var_decl_def_vis:

Public Member Functions

 var_decl_def_vis ()
 Construct a variable declaration definition visitor. More...
 
expression operator() (const nil &x) const
 Return the definition for the specified variable declaration (in this case nil for nil input). More...
 
expression operator() (const int_var_decl &x) const
 Return the definition for the specified variable declaration. More...
 
expression operator() (const double_var_decl &x) const
 Return the definition for the specified variable declaration. More...
 
expression operator() (const vector_var_decl &x) const
 Return the definition for the specified variable declaration. More...
 
expression operator() (const row_vector_var_decl &x) const
 Return the definition for the specified variable declaration. More...
 
expression operator() (const matrix_var_decl &x) const
 Return the definition for the specified variable declaration. More...
 
expression operator() (const simplex_var_decl &x) const
 Return the definition for the specified variable declaration. More...
 
expression operator() (const unit_vector_var_decl &x) const
 Return the definition for the specified variable declaration. More...
 
expression operator() (const ordered_var_decl &x) const
 Return the definition for the specified variable declaration. More...
 
expression operator() (const positive_ordered_var_decl &x) const
 Return the definition for the specified variable declaration. More...
 
expression operator() (const cholesky_factor_var_decl &x) const
 Return the definition for the specified variable declaration. More...
 
expression operator() (const cholesky_corr_var_decl &x) const
 Return the definition for the specified variable declaration. More...
 
expression operator() (const cov_matrix_var_decl &x) const
 Return the definition for the specified variable declaration. More...
 
expression operator() (const corr_matrix_var_decl &x) const
 Return the definition for the specified variable declaration. More...
 

Detailed Description

Visitor to return the definition in a variable declaration.

Definition at line 27 of file var_decl_def_vis.hpp.

Constructor & Destructor Documentation

§ var_decl_def_vis()

stan::lang::var_decl_def_vis::var_decl_def_vis ( )

Construct a variable declaration definition visitor.

Definition at line 9 of file var_decl_def_vis_def.hpp.

Member Function Documentation

§ operator()() [1/14]

expression stan::lang::var_decl_def_vis::operator() ( const nil x) const

Return the definition for the specified variable declaration (in this case nil for nil input).

Parameters
xvariable declaration

Definition at line 11 of file var_decl_def_vis_def.hpp.

§ operator()() [2/14]

expression stan::lang::var_decl_def_vis::operator() ( const int_var_decl x) const

Return the definition for the specified variable declaration.

Parameters
xvariable declaration

Definition at line 16 of file var_decl_def_vis_def.hpp.

§ operator()() [3/14]

expression stan::lang::var_decl_def_vis::operator() ( const double_var_decl x) const

Return the definition for the specified variable declaration.

Parameters
xvariable declaration

Definition at line 21 of file var_decl_def_vis_def.hpp.

§ operator()() [4/14]

expression stan::lang::var_decl_def_vis::operator() ( const vector_var_decl x) const

Return the definition for the specified variable declaration.

Parameters
xvariable declaration

Definition at line 26 of file var_decl_def_vis_def.hpp.

§ operator()() [5/14]

expression stan::lang::var_decl_def_vis::operator() ( const row_vector_var_decl x) const

Return the definition for the specified variable declaration.

Parameters
xvariable declaration

Definition at line 31 of file var_decl_def_vis_def.hpp.

§ operator()() [6/14]

expression stan::lang::var_decl_def_vis::operator() ( const matrix_var_decl x) const

Return the definition for the specified variable declaration.

Parameters
xvariable declaration

Definition at line 36 of file var_decl_def_vis_def.hpp.

§ operator()() [7/14]

expression stan::lang::var_decl_def_vis::operator() ( const simplex_var_decl x) const

Return the definition for the specified variable declaration.

Parameters
xvariable declaration

Definition at line 46 of file var_decl_def_vis_def.hpp.

§ operator()() [8/14]

expression stan::lang::var_decl_def_vis::operator() ( const unit_vector_var_decl x) const

Return the definition for the specified variable declaration.

Parameters
xvariable declaration

Definition at line 41 of file var_decl_def_vis_def.hpp.

§ operator()() [9/14]

expression stan::lang::var_decl_def_vis::operator() ( const ordered_var_decl x) const

Return the definition for the specified variable declaration.

Parameters
xvariable declaration

Definition at line 51 of file var_decl_def_vis_def.hpp.

§ operator()() [10/14]

expression stan::lang::var_decl_def_vis::operator() ( const positive_ordered_var_decl x) const

Return the definition for the specified variable declaration.

Parameters
xvariable declaration

Definition at line 56 of file var_decl_def_vis_def.hpp.

§ operator()() [11/14]

expression stan::lang::var_decl_def_vis::operator() ( const cholesky_factor_var_decl x) const

Return the definition for the specified variable declaration.

Parameters
xvariable declaration

Definition at line 61 of file var_decl_def_vis_def.hpp.

§ operator()() [12/14]

expression stan::lang::var_decl_def_vis::operator() ( const cholesky_corr_var_decl x) const

Return the definition for the specified variable declaration.

Parameters
xvariable declaration

Definition at line 66 of file var_decl_def_vis_def.hpp.

§ operator()() [13/14]

expression stan::lang::var_decl_def_vis::operator() ( const cov_matrix_var_decl x) const

Return the definition for the specified variable declaration.

Parameters
xvariable declaration

Definition at line 71 of file var_decl_def_vis_def.hpp.

§ operator()() [14/14]

expression stan::lang::var_decl_def_vis::operator() ( const corr_matrix_var_decl x) const

Return the definition for the specified variable declaration.

Parameters
xvariable declaration

Definition at line 76 of file var_decl_def_vis_def.hpp.


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

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