Stan  2.13.1
probability, sampling & optimization
Public Types | Public Member Functions | Public Attributes | List of all members
stan::lang::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< unit_vector_var_decl >, boost::recursive_wrapper< ordered_var_decl >, boost::recursive_wrapper< positive_ordered_var_decl >, boost::recursive_wrapper< cholesky_factor_var_decl >, boost::recursive_wrapper< cholesky_corr_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 unit_vector_var_decl &decl)
 
 var_decl (const ordered_var_decl &decl)
 
 var_decl (const positive_ordered_var_decl &decl)
 
 var_decl (const cholesky_factor_var_decl &decl)
 
 var_decl (const cholesky_corr_var_decl &decl)
 
 var_decl (const cov_matrix_var_decl &decl)
 
 var_decl (const corr_matrix_var_decl &decl)
 
std::string name () const
 
base_var_decl base_decl () const
 
std::vector< expressiondims () const
 
bool has_def () const
 
expression def () const
 

Public Attributes

var_decl_t decl_
 

Detailed Description

Definition at line 817 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<unit_vector_var_decl>, boost::recursive_wrapper<ordered_var_decl>, boost::recursive_wrapper<positive_ordered_var_decl>, boost::recursive_wrapper<cholesky_factor_var_decl>, boost::recursive_wrapper<cholesky_corr_var_decl>, boost::recursive_wrapper<cov_matrix_var_decl>, boost::recursive_wrapper<corr_matrix_var_decl> > stan::lang::var_decl::var_decl_t

Definition at line 832 of file ast.hpp.

Constructor & Destructor Documentation

§ var_decl() [1/16]

stan::lang::var_decl::var_decl ( )

Definition at line 1796 of file ast_def.cpp.

§ var_decl() [2/16]

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

Definition at line 1795 of file ast_def.cpp.

§ var_decl() [3/16]

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

Definition at line 1797 of file ast_def.cpp.

§ var_decl() [4/16]

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

Definition at line 1798 of file ast_def.cpp.

§ var_decl() [5/16]

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

Definition at line 1799 of file ast_def.cpp.

§ var_decl() [6/16]

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

Definition at line 1800 of file ast_def.cpp.

§ var_decl() [7/16]

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

Definition at line 1801 of file ast_def.cpp.

§ var_decl() [8/16]

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

Definition at line 1802 of file ast_def.cpp.

§ var_decl() [9/16]

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

Definition at line 1804 of file ast_def.cpp.

§ var_decl() [10/16]

stan::lang::var_decl::var_decl ( const unit_vector_var_decl decl)

Definition at line 1803 of file ast_def.cpp.

§ var_decl() [11/16]

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

Definition at line 1805 of file ast_def.cpp.

§ var_decl() [12/16]

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

Definition at line 1806 of file ast_def.cpp.

§ var_decl() [13/16]

stan::lang::var_decl::var_decl ( const cholesky_factor_var_decl decl)

Definition at line 1807 of file ast_def.cpp.

§ var_decl() [14/16]

stan::lang::var_decl::var_decl ( const cholesky_corr_var_decl decl)

Definition at line 1808 of file ast_def.cpp.

§ var_decl() [15/16]

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

Definition at line 1809 of file ast_def.cpp.

§ var_decl() [16/16]

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

Definition at line 1810 of file ast_def.cpp.

Member Function Documentation

§ base_decl()

base_var_decl stan::lang::var_decl::base_decl ( ) const

Definition at line 1816 of file ast_def.cpp.

§ def()

expression stan::lang::var_decl::def ( ) const

Definition at line 1828 of file ast_def.cpp.

§ dims()

std::vector< expression > stan::lang::var_decl::dims ( ) const

Definition at line 1820 of file ast_def.cpp.

§ has_def()

bool stan::lang::var_decl::has_def ( ) const

Definition at line 1824 of file ast_def.cpp.

§ name()

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

Definition at line 1812 of file ast_def.cpp.

Member Data Documentation

§ decl_

var_decl_t stan::lang::var_decl::decl_

Definition at line 833 of file ast.hpp.


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

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