Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Typedefs | Functions | Variables
ast.hpp File Reference
#include <map>
#include <string>
#include <vector>
#include <set>
#include <boost/variant/recursive_variant.hpp>

Go to the source code of this file.

Classes

struct  stan::gm::nil
 Placeholder struct for boost::variant default ctors. More...
 
struct  stan::gm::expr_type
 
class  stan::gm::function_signatures
 
struct  stan::gm::statements
 
struct  stan::gm::distribution
 
struct  stan::gm::expression_type_vis
 
struct  stan::gm::expression
 
struct  stan::gm::printable
 
struct  stan::gm::is_nil_op
 
struct  stan::gm::variable_dims
 
struct  stan::gm::int_literal
 
struct  stan::gm::double_literal
 
struct  stan::gm::array_literal
 
struct  stan::gm::variable
 
struct  stan::gm::integrate_ode
 
struct  stan::gm::fun
 
struct  stan::gm::index_op
 
struct  stan::gm::binary_op
 
struct  stan::gm::unary_op
 
struct  stan::gm::range
 
struct  stan::gm::base_var_decl
 
struct  stan::gm::variable_map
 
struct  stan::gm::int_var_decl
 
struct  stan::gm::double_var_decl
 
struct  stan::gm::unit_vector_var_decl
 
struct  stan::gm::simplex_var_decl
 
struct  stan::gm::ordered_var_decl
 
struct  stan::gm::positive_ordered_var_decl
 
struct  stan::gm::vector_var_decl
 
struct  stan::gm::row_vector_var_decl
 
struct  stan::gm::matrix_var_decl
 
struct  stan::gm::cholesky_factor_var_decl
 
struct  stan::gm::cholesky_corr_var_decl
 
struct  stan::gm::cov_matrix_var_decl
 
struct  stan::gm::corr_matrix_var_decl
 
struct  stan::gm::name_vis
 
struct  stan::gm::var_decl
 
struct  stan::gm::statement
 
struct  stan::gm::is_no_op_statement_vis
 
struct  stan::gm::returns_type_vis
 
struct  stan::gm::increment_log_prob_statement
 
struct  stan::gm::for_statement
 
struct  stan::gm::conditional_statement
 
struct  stan::gm::while_statement
 
struct  stan::gm::print_statement
 
struct  stan::gm::reject_statement
 
struct  stan::gm::return_statement
 
struct  stan::gm::no_op_statement
 
struct  stan::gm::arg_decl
 
struct  stan::gm::function_decl_def
 
struct  stan::gm::function_decl_defs
 
struct  stan::gm::program
 
struct  stan::gm::sample
 
struct  stan::gm::assignment
 
struct  stan::gm::contains_var
 
struct  stan::gm::contains_nonparam_var
 

Namespaces

 stan
 Probability, optimization and sampling library.
 
 stan::gm
 Directed graphical model compiler.
 

Typedefs

typedef int stan::gm::base_expr_type
 
typedef std::pair< expr_type,
std::vector< expr_type > > 
stan::gm::function_signature_t
 
typedef int stan::gm::var_origin
 

Functions

std::ostream & stan::gm::write_base_expr_type (std::ostream &o, base_expr_type type)
 
std::ostream & stan::gm::operator<< (std::ostream &o, const expr_type &et)
 
expr_type stan::gm::promote_primitive (const expr_type &et)
 
expr_type stan::gm::promote_primitive (const expr_type &et1, const expr_type &et2)
 
bool stan::gm::is_nil (const expression &e)
 
size_t stan::gm::total_dims (const std::vector< std::vector< expression > > &dimss)
 
expr_type stan::gm::infer_type_indexing (const base_expr_type &expr_base_type, size_t num_expr_dims, size_t num_index_dims)
 
expr_type stan::gm::infer_type_indexing (const expression &expr, size_t num_index_dims)
 
void stan::gm::print_var_origin (std::ostream &o, const var_origin &vo)
 
bool stan::gm::returns_type (const expr_type &return_type, const statement &statement, std::ostream &error_msgs)
 
void stan::gm::generate_expression (const expression &e, std::ostream &o)
 
bool stan::gm::has_rng_suffix (const std::string &s)
 
bool stan::gm::has_lp_suffix (const std::string &s)
 
bool stan::gm::is_user_defined (const std::string &name, const std::vector< expression > &args)
 
bool stan::gm::is_user_defined_prob_function (const std::string &name, const expression &variate, const std::vector< expression > &params)
 
bool stan::gm::is_user_defined (const fun &fx)
 
bool stan::gm::has_var (const expression &e, const variable_map &var_map)
 
bool stan::gm::has_non_param_var (const expression &e, const variable_map &var_map)
 
bool stan::gm::is_assignable (const expr_type &l_type, const expr_type &r_type, const std::string &failure_message, std::ostream &error_msgs)
 
bool stan::gm::ends_with (const std::string &suffix, const std::string &s)
 

Variables

const int stan::gm::VOID_T = 0
 
const int stan::gm::INT_T = 1
 
const int stan::gm::DOUBLE_T = 2
 
const int stan::gm::VECTOR_T = 3
 
const int stan::gm::ROW_VECTOR_T = 4
 
const int stan::gm::MATRIX_T = 5
 
const int stan::gm::ILL_FORMED_T = 6
 
const int stan::gm::model_name_origin = 0
 
const int stan::gm::data_origin = 1
 
const int stan::gm::transformed_data_origin = 2
 
const int stan::gm::parameter_origin = 3
 
const int stan::gm::transformed_parameter_origin = 4
 
const int stan::gm::derived_origin = 5
 
const int stan::gm::local_origin = 6
 
const int stan::gm::function_argument_origin = 7
 
const int stan::gm::function_argument_origin_lp = 8
 
const int stan::gm::function_argument_origin_rng = 9
 
const int stan::gm::void_function_argument_origin = 10
 
const int stan::gm::void_function_argument_origin_lp = 11
 
const int stan::gm::void_function_argument_origin_rng = 12
 

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