Stan  1.0
probability, sampling & optimization
Classes | Typedefs | Functions | Variables
stan::gm Namespace Reference

Directed graphical model compiler. More...

Classes

struct  nil
 Placeholder struct for boost::variant default ctors. More...
 
struct  expr_type
 
class  function_signatures
 
struct  statements
 
struct  distribution
 
struct  expression_type_vis
 
struct  expression
 
struct  printable
 
struct  is_nil_op
 
struct  variable_dims
 
struct  int_literal
 
struct  double_literal
 
struct  array_literal
 
struct  variable
 
struct  fun
 
struct  index_op
 
struct  binary_op
 
struct  unary_op
 
struct  range
 
struct  base_var_decl
 
struct  variable_map
 
struct  int_var_decl
 
struct  double_var_decl
 
struct  simplex_var_decl
 
struct  ordered_var_decl
 
struct  positive_ordered_var_decl
 
struct  vector_var_decl
 
struct  row_vector_var_decl
 
struct  matrix_var_decl
 
struct  cov_matrix_var_decl
 
struct  corr_matrix_var_decl
 
struct  name_vis
 
struct  var_decl
 
struct  statement
 
struct  for_statement
 
struct  conditional_statement
 
struct  while_statement
 
struct  print_statement
 
struct  no_op_statement
 
struct  program
 
struct  sample
 
struct  assignment
 
struct  visgen
 generic visitor with output for extension More...
 
struct  expression_visgen
 
struct  printable_visgen
 
struct  var_size_validating_visgen
 
struct  var_resizing_visgen
 
struct  init_local_var_visgen
 
struct  validate_var_decl_visgen
 
struct  member_var_decl_visgen
 
struct  local_var_decl_visgen
 
struct  generate_init_vars_visgen
 
struct  validate_transformed_params_visgen
 
struct  statement_visgen
 
struct  dump_member_var_visgen
 
struct  generate_init_visgen
 
struct  write_dims_visgen
 
struct  write_param_names_visgen
 
struct  write_csv_header_visgen
 
struct  write_csv_visgen
 
struct  write_csv_vars_visgen
 
struct  write_array_visgen
 
struct  write_array_vars_visgen
 
struct  set_param_ranges_visgen
 
struct  term_grammar
 
struct  expression_grammar
 
struct  validate_expr_type2
 
struct  set_fun_type2
 
struct  binary_op_expr
 
struct  addition_expr
 
struct  subtraction_expr
 
struct  program_grammar
 
struct  statement_grammar
 
struct  statement_2_grammar
 
struct  add_conditional_condition
 
struct  add_conditional_body
 
struct  var_decls_grammar
 
struct  whitespace_grammar
 

Typedefs

typedef int base_expr_type
 
typedef std::pair< expr_type, std::vector< expr_type > > function_signature_t
 
typedef int var_origin
 
typedef std::istreambuf_iterator< char > base_iterator_t
 
typedef boost::spirit::multi_pass< base_iterator_tforward_iterator_t
 
typedef boost::spirit::classic::position_iterator2< forward_iterator_tpos_iterator_t
 

Functions

std::ostream & write_base_expr_type (std::ostream &o, base_expr_type type)
 
std::ostream & operator<< (std::ostream &o, const expr_type &et)
 
expr_type promote_primitive (const expr_type &et)
 
expr_type promote_primitive (const expr_type &et1, const expr_type &et2)
 
bool is_nil (const expression &e)
 
size_t total_dims (const std::vector< std::vector< expression > > &dimss)
 
expr_type infer_type_indexing (const base_expr_type &expr_base_type, size_t num_expr_dims, size_t num_index_dims)
 
expr_type infer_type_indexing (const expression &expr, size_t num_index_dims)
 
void print_var_origin (std::ostream &o, const var_origin &vo)
 
void generate_expression (const expression &e, std::ostream &o)
 
void print_nuts_help (std::string cmd)
 
bool do_print (int n, int refresh)
 
template<class Sampler , class Model >
void sample_from (Sampler &sampler, bool epsilon_adapt, int refresh, int num_iterations, int num_warmup, int num_thin, bool save_warmup, std::ostream &sample_file_stream, std::vector< double > &params_r, std::vector< int > &params_i, Model &model)
 
void write_comment (std::ostream &o)
 
template<typename M >
void write_comment (std::ostream &o, const M &msg)
 
template<typename K , typename V >
void write_comment_property (std::ostream &o, const K &key, const V &val)
 
template<class Model >
int nuts_command (int argc, const char *argv[])
 
bool compile (std::ostream *output_stream, std::istream &stan_gm_in, std::ostream &cpp_out, const std::string &model_name, bool include_main=true, const std::string &in_file_name="input")
 Read a Stan directed graphical model specification from the specified input, parse it, and write the C++ code for it to the specified output. More...
 
const std::string EOL ("\n")
 
const std::string EOL2 ("\n\n")
 
const std::string INDENT (" ")
 
const std::string INDENT2 (" ")
 
const std::string INDENT3 (" ")
 
template<typename D >
bool has_lub (const D &x)
 
template<typename D >
bool has_ub (const D &x)
 
template<typename D >
bool has_lb (const D &x)
 
template<typename T >
std::string to_string (T i)
 
void generate_indent (size_t indent, std::ostream &o)
 
void generate_start_namespace (std::string name, std::ostream &o)
 
void generate_end_namespace (std::ostream &o)
 
void generate_comment (std::string const &msg, int indent, std::ostream &o)
 
void generate_indexed_expr (const std::string &expr, const std::vector< expression > indexes, base_expr_type base_type, size_t e_num_dims, std::ostream &o)
 
void generate_type (const std::string &base_type, const std::vector< expression > &dims, size_t end, std::ostream &o)
 
std::string base_type_to_string (const base_expr_type &bt)
 
void generate_printable (const printable &p, std::ostream &o)
 
void generate_using (const std::string &type, std::ostream &o)
 
void generate_using_namespace (const std::string &ns, std::ostream &o)
 
void generate_usings (std::ostream &o)
 
void generate_typedef (const std::string &type, const std::string &abbrev, std::ostream &o)
 
void generate_typedefs (std::ostream &o)
 
void generate_include (const std::string &lib_name, std::ostream &o)
 
void generate_includes (std::ostream &o)
 
void generate_version_comment (std::ostream &o)
 
void generate_class_decl (const std::string &model_name, std::ostream &o)
 
void generate_end_class_decl (std::ostream &o)
 
void generate_initializer (std::ostream &o, const std::string &base_type, const std::vector< expression > &dims, const expression &type_arg1=expression(), const expression &type_arg2=expression())
 
void generate_validate_context_size (std::ostream &o, const std::string &stage, const std::string &var_name, const std::string &base_type, const std::vector< expression > &dims, const expression &type_arg1=expression(), const expression &type_arg2=expression())
 
void generate_initialization (std::ostream &o, const std::string &var_name, const std::string &base_type, const std::vector< expression > &dims, const expression &type_arg1=expression(), const expression &type_arg2=expression())
 
void generate_var_resizing (const std::vector< var_decl > &vs, std::ostream &o)
 
const std::vector< expressionEMPTY_EXP_VECTOR (0)
 
void generate_local_var_inits (std::vector< var_decl > vs, bool is_var, bool declare_vars, std::ostream &o)
 
void generate_public_decl (std::ostream &o)
 
void generate_private_decl (std::ostream &o)
 
void generate_validate_var_decl (const var_decl &decl, int indent, std::ostream &o)
 
void generate_validate_var_decls (const std::vector< var_decl > decls, int indent, std::ostream &o)
 
void generate_member_var_decls (const std::vector< var_decl > &vs, int indent, std::ostream &o)
 
void generate_local_var_decls (const std::vector< var_decl > &vs, int indent, std::ostream &o, bool is_var)
 
void generate_init_vars (const std::vector< var_decl > &vs, int indent, std::ostream &o)
 
void generate_validate_transformed_params (const std::vector< var_decl > &vs, int indent, std::ostream &o)
 
void generate_statement (statement const &s, int indent, std::ostream &o, bool include_sampling, bool is_var)
 
void generate_statements (const std::vector< statement > &ss, int indent, std::ostream &o, bool include_sampling, bool is_var)
 
void generate_log_prob (program const &p, std::ostream &o)
 
void suppress_warning (const std::string &indent, const std::string &var_name, std::ostream &o)
 
void generate_member_var_inits (const std::vector< var_decl > &vs, std::ostream &o)
 
void generate_constructor (const program &prog, const std::string &model_name, std::ostream &o)
 
void generate_init_method (const std::vector< var_decl > &vs, std::ostream &o)
 
void generate_dims_method (const program &prog, std::ostream &o)
 
void generate_param_names_method (const program &prog, std::ostream &o)
 
void generate_write_csv_header_method (const program &prog, std::ostream &o)
 
void generate_write_csv_method (const program &prog, const std::string &model_name, std::ostream &o)
 
void generate_write_array_method (const program &prog, const std::string &model_name, std::ostream &o)
 
void generate_set_param_ranges (const std::vector< var_decl > &var_decls, std::ostream &o)
 
void generate_main (const std::string &model_name, std::ostream &out)
 
void generate_cpp (const program &prog, const std::string &model_name, std::ostream &out, bool include_main=true)
 
bool is_space (char c)
 
bool is_nonempty (std::string &s)
 
bool parse (std::ostream *output_stream, std::istream &input, const std::string &filename, program &result)
 

Variables

const int INT_T = 1
 
const int DOUBLE_T = 2
 
const int VECTOR_T = 3
 
const int ROW_VECTOR_T = 4
 
const int MATRIX_T = 5
 
const int ILL_FORMED_T = 6
 
const int data_origin = 1
 
const int transformed_data_origin = 2
 
const int parameter_origin = 3
 
const int transformed_parameter_origin = 4
 
const int derived_origin = 5
 
const int local_origin = 6
 
boost::phoenix::function< validate_expr_type2validate_expr_type2_f
 
boost::phoenix::function< set_fun_type2set_fun_type2_f
 
boost::phoenix::function< binary_op_exprbinary_op_f
 
boost::phoenix::function< addition_expraddition
 
boost::phoenix::function< subtraction_exprsubtraction
 
boost::phoenix::function< add_conditional_conditionadd_conditional_condition_f
 
boost::phoenix::function< add_conditional_bodyadd_conditional_body_f
 

Detailed Description

Directed graphical model compiler.

Typedef Documentation

◆ base_expr_type

Definition at line 53 of file ast.hpp.

◆ base_iterator_t

typedef std::istreambuf_iterator<char> stan::gm::base_iterator_t

Definition at line 10 of file iterator_typedefs.hpp.

◆ forward_iterator_t

typedef boost::spirit::multi_pass<base_iterator_t> stan::gm::forward_iterator_t

Definition at line 11 of file iterator_typedefs.hpp.

◆ function_signature_t

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

Definition at line 87 of file ast.hpp.

◆ pos_iterator_t

typedef boost::spirit::classic::position_iterator2<forward_iterator_t> stan::gm::pos_iterator_t

Definition at line 12 of file iterator_typedefs.hpp.

◆ var_origin

typedef int stan::gm::var_origin

Definition at line 358 of file ast.hpp.

Function Documentation

◆ base_type_to_string()

std::string stan::gm::base_type_to_string ( const base_expr_type bt)

Definition at line 125 of file generator.hpp.

◆ compile()

bool stan::gm::compile ( std::ostream *  output_stream,
std::istream &  stan_gm_in,
std::ostream &  cpp_out,
const std::string &  model_name,
bool  include_main = true,
const std::string &  in_file_name = "input" 
)

Read a Stan directed graphical model specification from the specified input, parse it, and write the C++ code for it to the specified output.

Parameters
stan_gm_inGraphical model specification
cpp_outC++ code output stream
model_nameName of model class
include_mainIndicates whether to generate a main function
in_file_nameName of input file to use in error messages; defaults to input.
Returns
false if code could not be generated due to syntax error in the Graphical model; true otherwise.

Definition at line 31 of file compiler.hpp.

◆ do_print()

bool stan::gm::do_print ( int  n,
int  refresh 
)

Definition at line 152 of file command.hpp.

◆ EMPTY_EXP_VECTOR()

const std::vector<expression> stan::gm::EMPTY_EXP_VECTOR ( )

◆ EOL()

const std::string stan::gm::EOL ( "\n"  )

◆ EOL2()

const std::string stan::gm::EOL2 ( "\n\n"  )

◆ generate_class_decl()

void stan::gm::generate_class_decl ( const std::string &  model_name,
std::ostream &  o 
)

Definition at line 268 of file generator.hpp.

◆ generate_comment()

void stan::gm::generate_comment ( std::string const &  msg,
int  indent,
std::ostream &  o 
)

Definition at line 67 of file generator.hpp.

◆ generate_constructor()

void stan::gm::generate_constructor ( const program prog,
const std::string &  model_name,
std::ostream &  o 
)

Definition at line 1763 of file generator.hpp.

◆ generate_cpp()

void stan::gm::generate_cpp ( const program prog,
const std::string &  model_name,
std::ostream &  out,
bool  include_main = true 
)

Definition at line 3095 of file generator.hpp.

◆ generate_dims_method()

void stan::gm::generate_dims_method ( const program prog,
std::ostream &  o 
)

Definition at line 2110 of file generator.hpp.

◆ generate_end_class_decl()

void stan::gm::generate_end_class_decl ( std::ostream &  o)

Definition at line 273 of file generator.hpp.

◆ generate_end_namespace()

void stan::gm::generate_end_namespace ( std::ostream &  o)

Definition at line 63 of file generator.hpp.

◆ generate_expression()

void stan::gm::generate_expression ( const expression e,
std::ostream &  o 
)

Definition at line 191 of file generator.hpp.

◆ generate_include()

void stan::gm::generate_include ( const std::string &  lib_name,
std::ostream &  o 
)

Definition at line 254 of file generator.hpp.

◆ generate_includes()

void stan::gm::generate_includes ( std::ostream &  o)

Definition at line 258 of file generator.hpp.

◆ generate_indent()

void stan::gm::generate_indent ( size_t  indent,
std::ostream &  o 
)

Definition at line 46 of file generator.hpp.

◆ generate_indexed_expr()

void stan::gm::generate_indexed_expr ( const std::string &  expr,
const std::vector< expression indexes,
base_expr_type  base_type,
size_t  e_num_dims,
std::ostream &  o 
)

Definition at line 74 of file generator.hpp.

◆ generate_init_method()

void stan::gm::generate_init_method ( const std::vector< var_decl > &  vs,
std::ostream &  o 
)

Definition at line 2011 of file generator.hpp.

◆ generate_init_vars()

void stan::gm::generate_init_vars ( const std::vector< var_decl > &  vs,
int  indent,
std::ostream &  o 
)

Definition at line 988 of file generator.hpp.

◆ generate_initialization()

void stan::gm::generate_initialization ( std::ostream &  o,
const std::string &  var_name,
const std::string &  base_type,
const std::vector< expression > &  dims,
const expression type_arg1 = expression(),
const expression type_arg2 = expression() 
)

Definition at line 379 of file generator.hpp.

◆ generate_initializer()

void stan::gm::generate_initializer ( std::ostream &  o,
const std::string &  base_type,
const std::vector< expression > &  dims,
const expression type_arg1 = expression(),
const expression type_arg2 = expression() 
)

Definition at line 277 of file generator.hpp.

◆ generate_local_var_decls()

void stan::gm::generate_local_var_decls ( const std::vector< var_decl > &  vs,
int  indent,
std::ostream &  o,
bool  is_var 
)

Definition at line 928 of file generator.hpp.

◆ generate_local_var_inits()

void stan::gm::generate_local_var_inits ( std::vector< var_decl vs,
bool  is_var,
bool  declare_vars,
std::ostream &  o 
)

Definition at line 586 of file generator.hpp.

◆ generate_log_prob()

void stan::gm::generate_log_prob ( program const &  p,
std::ostream &  o 
)

Definition at line 1318 of file generator.hpp.

◆ generate_main()

void stan::gm::generate_main ( const std::string &  model_name,
std::ostream &  out 
)

Definition at line 3076 of file generator.hpp.

◆ generate_member_var_decls()

void stan::gm::generate_member_var_decls ( const std::vector< var_decl > &  vs,
int  indent,
std::ostream &  o 
)

Definition at line 791 of file generator.hpp.

◆ generate_member_var_inits()

void stan::gm::generate_member_var_inits ( const std::vector< var_decl > &  vs,
std::ostream &  o 
)

Definition at line 1756 of file generator.hpp.

◆ generate_param_names_method()

void stan::gm::generate_param_names_method ( const program prog,
std::ostream &  o 
)

Definition at line 2182 of file generator.hpp.

◆ generate_printable()

void stan::gm::generate_printable ( const printable p,
std::ostream &  o 
)

Definition at line 206 of file generator.hpp.

◆ generate_private_decl()

void stan::gm::generate_private_decl ( std::ostream &  o)

Definition at line 606 of file generator.hpp.

◆ generate_public_decl()

void stan::gm::generate_public_decl ( std::ostream &  o)

Definition at line 602 of file generator.hpp.

◆ generate_set_param_ranges()

void stan::gm::generate_set_param_ranges ( const std::vector< var_decl > &  var_decls,
std::ostream &  o 
)

Definition at line 3064 of file generator.hpp.

◆ generate_start_namespace()

void stan::gm::generate_start_namespace ( std::string  name,
std::ostream &  o 
)

Definition at line 58 of file generator.hpp.

◆ generate_statement()

void stan::gm::generate_statement ( statement const &  s,
int  indent,
std::ostream &  o,
bool  include_sampling,
bool  is_var 
)

Definition at line 1298 of file generator.hpp.

◆ generate_statements()

void stan::gm::generate_statements ( const std::vector< statement > &  ss,
int  indent,
std::ostream &  o,
bool  include_sampling,
bool  is_var 
)

Definition at line 1307 of file generator.hpp.

◆ generate_type()

void stan::gm::generate_type ( const std::string &  base_type,
const std::vector< expression > &  dims,
size_t  end,
std::ostream &  o 
)

Definition at line 113 of file generator.hpp.

◆ generate_typedef()

void stan::gm::generate_typedef ( const std::string &  type,
const std::string &  abbrev,
std::ostream &  o 
)

Definition at line 236 of file generator.hpp.

◆ generate_typedefs()

void stan::gm::generate_typedefs ( std::ostream &  o)

Definition at line 242 of file generator.hpp.

◆ generate_using()

void stan::gm::generate_using ( const std::string &  type,
std::ostream &  o 
)

Definition at line 211 of file generator.hpp.

◆ generate_using_namespace()

void stan::gm::generate_using_namespace ( const std::string &  ns,
std::ostream &  o 
)

Definition at line 215 of file generator.hpp.

◆ generate_usings()

void stan::gm::generate_usings ( std::ostream &  o)

Definition at line 220 of file generator.hpp.

◆ generate_validate_context_size()

void stan::gm::generate_validate_context_size ( std::ostream &  o,
const std::string &  stage,
const std::string &  var_name,
const std::string &  base_type,
const std::vector< expression > &  dims,
const expression type_arg1 = expression(),
const expression type_arg2 = expression() 
)

Definition at line 309 of file generator.hpp.

◆ generate_validate_transformed_params()

void stan::gm::generate_validate_transformed_params ( const std::vector< var_decl > &  vs,
int  indent,
std::ostream &  o 
)

Definition at line 1108 of file generator.hpp.

◆ generate_validate_var_decl()

void stan::gm::generate_validate_var_decl ( const var_decl decl,
int  indent,
std::ostream &  o 
)

Definition at line 720 of file generator.hpp.

◆ generate_validate_var_decls()

void stan::gm::generate_validate_var_decls ( const std::vector< var_decl decls,
int  indent,
std::ostream &  o 
)

Definition at line 727 of file generator.hpp.

◆ generate_var_resizing()

void stan::gm::generate_var_resizing ( const std::vector< var_decl > &  vs,
std::ostream &  o 
)

Definition at line 429 of file generator.hpp.

◆ generate_version_comment()

void stan::gm::generate_version_comment ( std::ostream &  o)

Definition at line 263 of file generator.hpp.

◆ generate_write_array_method()

void stan::gm::generate_write_array_method ( const program prog,
const std::string &  model_name,
std::ostream &  o 
)

Definition at line 2862 of file generator.hpp.

◆ generate_write_csv_header_method()

void stan::gm::generate_write_csv_header_method ( const program prog,
std::ostream &  o 
)

Definition at line 2303 of file generator.hpp.

◆ generate_write_csv_method()

void stan::gm::generate_write_csv_method ( const program prog,
const std::string &  model_name,
std::ostream &  o 
)

Definition at line 2541 of file generator.hpp.

◆ has_lb()

template<typename D >
bool stan::gm::has_lb ( const D &  x)

Definition at line 35 of file generator.hpp.

◆ has_lub()

template<typename D >
bool stan::gm::has_lub ( const D &  x)

Definition at line 27 of file generator.hpp.

◆ has_ub()

template<typename D >
bool stan::gm::has_ub ( const D &  x)

Definition at line 31 of file generator.hpp.

◆ INDENT()

const std::string stan::gm::INDENT ( " "  )

◆ INDENT2()

const std::string stan::gm::INDENT2 ( " "  )

◆ INDENT3()

const std::string stan::gm::INDENT3 ( " "  )

◆ infer_type_indexing() [1/2]

expr_type stan::gm::infer_type_indexing ( const base_expr_type expr_base_type,
size_t  num_expr_dims,
size_t  num_index_dims 
)

Definition at line 479 of file ast_def.cpp.

◆ infer_type_indexing() [2/2]

expr_type stan::gm::infer_type_indexing ( const expression expr,
size_t  num_index_dims 
)

Definition at line 498 of file ast_def.cpp.

◆ is_nil()

bool stan::gm::is_nil ( const expression e)

Definition at line 392 of file ast_def.cpp.

◆ is_nonempty()

bool stan::gm::is_nonempty ( std::string &  s)

Definition at line 50 of file parser.hpp.

◆ is_space()

bool stan::gm::is_space ( char  c)

Definition at line 46 of file parser.hpp.

◆ nuts_command()

template<class Model >
int stan::gm::nuts_command ( int  argc,
const char *  argv[] 
)

Definition at line 241 of file command.hpp.

◆ operator<<()

std::ostream & stan::gm::operator<< ( std::ostream &  o,
const expr_type et 
)

Definition at line 92 of file ast_def.cpp.

◆ parse()

bool stan::gm::parse ( std::ostream *  output_stream,
std::istream &  input,
const std::string &  filename,
program result 
)
inline

Definition at line 62 of file parser.hpp.

◆ print_nuts_help()

void stan::gm::print_nuts_help ( std::string  cmd)

Definition at line 35 of file command.hpp.

◆ print_var_origin()

void stan::gm::print_var_origin ( std::ostream &  o,
const var_origin vo 
)

Definition at line 550 of file ast_def.cpp.

◆ promote_primitive() [1/2]

expr_type stan::gm::promote_primitive ( const expr_type et)

Definition at line 99 of file ast_def.cpp.

◆ promote_primitive() [2/2]

expr_type stan::gm::promote_primitive ( const expr_type et1,
const expr_type et2 
)

Definition at line 105 of file ast_def.cpp.

◆ sample_from()

template<class Sampler , class Model >
void stan::gm::sample_from ( Sampler &  sampler,
bool  epsilon_adapt,
int  refresh,
int  num_iterations,
int  num_warmup,
int  num_thin,
bool  save_warmup,
std::ostream &  sample_file_stream,
std::vector< double > &  params_r,
std::vector< int > &  params_i,
Model &  model 
)

Definition at line 159 of file command.hpp.

◆ suppress_warning()

void stan::gm::suppress_warning ( const std::string &  indent,
const std::string &  var_name,
std::ostream &  o 
)

Definition at line 1747 of file generator.hpp.

◆ to_string()

template<typename T >
std::string stan::gm::to_string ( i)

Definition at line 40 of file generator.hpp.

◆ total_dims()

size_t stan::gm::total_dims ( const std::vector< std::vector< expression > > &  dimss)

Definition at line 471 of file ast_def.cpp.

◆ write_base_expr_type()

std::ostream & stan::gm::write_base_expr_type ( std::ostream &  o,
base_expr_type  type 
)

Definition at line 23 of file ast_def.cpp.

◆ write_comment() [1/2]

void stan::gm::write_comment ( std::ostream &  o)

Definition at line 225 of file command.hpp.

◆ write_comment() [2/2]

template<typename M >
void stan::gm::write_comment ( std::ostream &  o,
const M &  msg 
)

Definition at line 229 of file command.hpp.

◆ write_comment_property()

template<typename K , typename V >
void stan::gm::write_comment_property ( std::ostream &  o,
const K &  key,
const V &  val 
)

Definition at line 234 of file command.hpp.

Variable Documentation

◆ add_conditional_body_f

boost::phoenix::function<add_conditional_body> stan::gm::add_conditional_body_f

Definition at line 83 of file statement_2_grammar_def.hpp.

◆ add_conditional_condition_f

boost::phoenix::function<add_conditional_condition> stan::gm::add_conditional_condition_f

Definition at line 73 of file statement_2_grammar_def.hpp.

◆ addition

boost::phoenix::function<addition_expr> stan::gm::addition

Definition at line 140 of file expression_grammar_def.hpp.

◆ binary_op_f

boost::phoenix::function<binary_op_expr> stan::gm::binary_op_f

Definition at line 116 of file expression_grammar_def.hpp.

◆ data_origin

const int stan::gm::data_origin = 1

Definition at line 359 of file ast.hpp.

◆ derived_origin

const int stan::gm::derived_origin = 5

Definition at line 363 of file ast.hpp.

◆ DOUBLE_T

const int stan::gm::DOUBLE_T = 2

Definition at line 55 of file ast.hpp.

◆ ILL_FORMED_T

const int stan::gm::ILL_FORMED_T = 6

Definition at line 59 of file ast.hpp.

◆ INT_T

const int stan::gm::INT_T = 1

Definition at line 54 of file ast.hpp.

◆ local_origin

const int stan::gm::local_origin = 6

Definition at line 364 of file ast.hpp.

◆ MATRIX_T

const int stan::gm::MATRIX_T = 5

Definition at line 58 of file ast.hpp.

◆ parameter_origin

const int stan::gm::parameter_origin = 3

Definition at line 361 of file ast.hpp.

◆ ROW_VECTOR_T

const int stan::gm::ROW_VECTOR_T = 4

Definition at line 57 of file ast.hpp.

◆ set_fun_type2_f

boost::phoenix::function<set_fun_type2> stan::gm::set_fun_type2_f

Definition at line 85 of file expression_grammar_def.hpp.

◆ subtraction

boost::phoenix::function<subtraction_expr> stan::gm::subtraction

Definition at line 163 of file expression_grammar_def.hpp.

◆ transformed_data_origin

const int stan::gm::transformed_data_origin = 2

Definition at line 360 of file ast.hpp.

◆ transformed_parameter_origin

const int stan::gm::transformed_parameter_origin = 4

Definition at line 362 of file ast.hpp.

◆ validate_expr_type2_f

boost::phoenix::function<validate_expr_type2> stan::gm::validate_expr_type2_f

Definition at line 67 of file expression_grammar_def.hpp.

◆ VECTOR_T

const int stan::gm::VECTOR_T = 3

Definition at line 56 of file ast.hpp.


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