Stan  2.10.0
probability, sampling & optimization
Public Member Functions | Public Attributes | List of all members
stan::lang::local_var_decl_visgen Struct Reference

#include <generator.hpp>

Inheritance diagram for stan::lang::local_var_decl_visgen:
stan::lang::visgen

Public Member Functions

 local_var_decl_visgen (int indents, bool is_var, bool is_fun_return, std::ostream &o)
 
void operator() (nil const &) const
 
void operator() (int_var_decl const &x) const
 
void operator() (double_var_decl const &x) const
 
void operator() (vector_var_decl const &x) const
 
void operator() (row_vector_var_decl const &x) const
 
void operator() (matrix_var_decl const &x) const
 
void operator() (unit_vector_var_decl const &x) const
 
void operator() (simplex_var_decl const &x) const
 
void operator() (ordered_var_decl const &x) const
 
void operator() (positive_ordered_var_decl const &x) const
 
void operator() (cholesky_factor_var_decl const &x) const
 
void operator() (const cholesky_corr_var_decl &x) const
 
void operator() (cov_matrix_var_decl const &x) const
 
void operator() (corr_matrix_var_decl const &x) const
 
void generate_type (const std::string &type, size_t num_dims) const
 
void generate_void_statement (const std::string &name) const
 
void generate_init_args (const std::string &type, const std::vector< expression > &ctor_args, const std::vector< expression > &dims, size_t dim) const
 
void declare_array (const std::string &type, const std::vector< expression > &ctor_args, const std::string &name, const std::vector< expression > &dims) const
 
- Public Member Functions inherited from stan::lang::visgen
 visgen (std::ostream &o)
 

Public Attributes

int indents_
 
bool is_var_
 
bool is_fun_return_
 
- Public Attributes inherited from stan::lang::visgen
std::ostream & o_
 

Additional Inherited Members

- Public Types inherited from stan::lang::visgen
typedef void result_type
 

Detailed Description

Definition at line 1247 of file generator.hpp.

Constructor & Destructor Documentation

stan::lang::local_var_decl_visgen::local_var_decl_visgen ( int  indents,
bool  is_var,
bool  is_fun_return,
std::ostream &  o 
)
inline

Definition at line 1251 of file generator.hpp.

Member Function Documentation

void stan::lang::local_var_decl_visgen::declare_array ( const std::string &  type,
const std::vector< expression > &  ctor_args,
const std::string &  name,
const std::vector< expression > &  dims 
) const
inline

Definition at line 1448 of file generator.hpp.

void stan::lang::local_var_decl_visgen::generate_init_args ( const std::string &  type,
const std::vector< expression > &  ctor_args,
const std::vector< expression > &  dims,
size_t  dim 
) const
inline

Definition at line 1402 of file generator.hpp.

void stan::lang::local_var_decl_visgen::generate_type ( const std::string &  type,
size_t  num_dims 
) const
inline

Definition at line 1384 of file generator.hpp.

void stan::lang::local_var_decl_visgen::generate_void_statement ( const std::string &  name) const
inline

Definition at line 1395 of file generator.hpp.

void stan::lang::local_var_decl_visgen::operator() ( nil const &  ) const
inline

Definition at line 1260 of file generator.hpp.

void stan::lang::local_var_decl_visgen::operator() ( int_var_decl const &  x) const
inline

Definition at line 1261 of file generator.hpp.

void stan::lang::local_var_decl_visgen::operator() ( double_var_decl const &  x) const
inline

Definition at line 1265 of file generator.hpp.

void stan::lang::local_var_decl_visgen::operator() ( vector_var_decl const &  x) const
inline

Definition at line 1272 of file generator.hpp.

void stan::lang::local_var_decl_visgen::operator() ( row_vector_var_decl const &  x) const
inline

Definition at line 1281 of file generator.hpp.

void stan::lang::local_var_decl_visgen::operator() ( matrix_var_decl const &  x) const
inline

Definition at line 1291 of file generator.hpp.

void stan::lang::local_var_decl_visgen::operator() ( unit_vector_var_decl const &  x) const
inline

Definition at line 1303 of file generator.hpp.

void stan::lang::local_var_decl_visgen::operator() ( simplex_var_decl const &  x) const
inline

Definition at line 1312 of file generator.hpp.

void stan::lang::local_var_decl_visgen::operator() ( ordered_var_decl const &  x) const
inline

Definition at line 1321 of file generator.hpp.

void stan::lang::local_var_decl_visgen::operator() ( positive_ordered_var_decl const &  x) const
inline

Definition at line 1330 of file generator.hpp.

void stan::lang::local_var_decl_visgen::operator() ( cholesky_factor_var_decl const &  x) const
inline

Definition at line 1339 of file generator.hpp.

void stan::lang::local_var_decl_visgen::operator() ( const cholesky_corr_var_decl x) const
inline

Definition at line 1351 of file generator.hpp.

void stan::lang::local_var_decl_visgen::operator() ( cov_matrix_var_decl const &  x) const
inline

Definition at line 1360 of file generator.hpp.

void stan::lang::local_var_decl_visgen::operator() ( corr_matrix_var_decl const &  x) const
inline

Definition at line 1372 of file generator.hpp.

Member Data Documentation

int stan::lang::local_var_decl_visgen::indents_

Definition at line 1248 of file generator.hpp.

bool stan::lang::local_var_decl_visgen::is_fun_return_

Definition at line 1250 of file generator.hpp.

bool stan::lang::local_var_decl_visgen::is_var_

Definition at line 1249 of file generator.hpp.


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

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