Stan  1.0
probability, sampling & optimization
Public Types | Public Member Functions | Public Attributes | List of all members
stan::gm::var_decl Struct Reference

#include <ast.hpp>

Public Types

typedef boost::variant< boost::recursive_wrapper< nil >, boost::recursive_wrapper< int_var_decl >, boost::recursive_wrapper< double_var_decl >, boost::recursive_wrapper< vector_var_decl >, boost::recursive_wrapper< row_vector_var_decl >, boost::recursive_wrapper< matrix_var_decl >, boost::recursive_wrapper< simplex_var_decl >, boost::recursive_wrapper< ordered_var_decl >, boost::recursive_wrapper< positive_ordered_var_decl >, boost::recursive_wrapper< cov_matrix_var_decl >, boost::recursive_wrapper< corr_matrix_var_decl > > var_decl_t
 

Public Member Functions

 var_decl ()
 
 var_decl (const var_decl_t &decl)
 
 var_decl (const nil &decl)
 
 var_decl (const int_var_decl &decl)
 
 var_decl (const double_var_decl &decl)
 
 var_decl (const vector_var_decl &decl)
 
 var_decl (const row_vector_var_decl &decl)
 
 var_decl (const matrix_var_decl &decl)
 
 var_decl (const simplex_var_decl &decl)
 
 var_decl (const ordered_var_decl &decl)
 
 var_decl (const positive_ordered_var_decl &decl)
 
 var_decl (const cov_matrix_var_decl &decl)
 
 var_decl (const corr_matrix_var_decl &decl)
 
std::string name () const
 

Public Attributes

var_decl_t decl_
 

Detailed Description

Definition at line 510 of file ast.hpp.

Member Typedef Documentation

◆ var_decl_t

typedef boost::variant<boost::recursive_wrapper<nil>, boost::recursive_wrapper<int_var_decl>, boost::recursive_wrapper<double_var_decl>, boost::recursive_wrapper<vector_var_decl>, boost::recursive_wrapper<row_vector_var_decl>, boost::recursive_wrapper<matrix_var_decl>, boost::recursive_wrapper<simplex_var_decl>, boost::recursive_wrapper<ordered_var_decl>, boost::recursive_wrapper<positive_ordered_var_decl>, boost::recursive_wrapper<cov_matrix_var_decl>, boost::recursive_wrapper<corr_matrix_var_decl> > stan::gm::var_decl::var_decl_t

Definition at line 522 of file ast.hpp.

Constructor & Destructor Documentation

◆ var_decl() [1/13]

stan::gm::var_decl::var_decl ( )

Definition at line 760 of file ast_def.cpp.

◆ var_decl() [2/13]

stan::gm::var_decl::var_decl ( const var_decl_t decl)

Definition at line 759 of file ast_def.cpp.

◆ var_decl() [3/13]

stan::gm::var_decl::var_decl ( const nil decl)

Definition at line 761 of file ast_def.cpp.

◆ var_decl() [4/13]

stan::gm::var_decl::var_decl ( const int_var_decl decl)

Definition at line 762 of file ast_def.cpp.

◆ var_decl() [5/13]

stan::gm::var_decl::var_decl ( const double_var_decl decl)

Definition at line 763 of file ast_def.cpp.

◆ var_decl() [6/13]

stan::gm::var_decl::var_decl ( const vector_var_decl decl)

Definition at line 764 of file ast_def.cpp.

◆ var_decl() [7/13]

stan::gm::var_decl::var_decl ( const row_vector_var_decl decl)

Definition at line 765 of file ast_def.cpp.

◆ var_decl() [8/13]

stan::gm::var_decl::var_decl ( const matrix_var_decl decl)

Definition at line 766 of file ast_def.cpp.

◆ var_decl() [9/13]

stan::gm::var_decl::var_decl ( const simplex_var_decl decl)

Definition at line 767 of file ast_def.cpp.

◆ var_decl() [10/13]

stan::gm::var_decl::var_decl ( const ordered_var_decl decl)

Definition at line 768 of file ast_def.cpp.

◆ var_decl() [11/13]

stan::gm::var_decl::var_decl ( const positive_ordered_var_decl decl)

Definition at line 769 of file ast_def.cpp.

◆ var_decl() [12/13]

stan::gm::var_decl::var_decl ( const cov_matrix_var_decl decl)

Definition at line 770 of file ast_def.cpp.

◆ var_decl() [13/13]

stan::gm::var_decl::var_decl ( const corr_matrix_var_decl decl)

Definition at line 771 of file ast_def.cpp.

Member Function Documentation

◆ name()

std::string stan::gm::var_decl::name ( ) const

Definition at line 778 of file ast_def.cpp.

Member Data Documentation

◆ decl_

var_decl_t stan::gm::var_decl::decl_

Definition at line 524 of file ast.hpp.


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

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