Stan  1.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
Classes | Functions | Variables
term_grammar_def.hpp File Reference
#include <cstddef>
#include <iomanip>
#include <iostream>
#include <istream>
#include <map>
#include <set>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
#include <stdexcept>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/phoenix_core.hpp>
#include <boost/spirit/include/phoenix_function.hpp>
#include <boost/spirit/include/phoenix_fusion.hpp>
#include <boost/spirit/include/phoenix_object.hpp>
#include <boost/spirit/include/phoenix_operator.hpp>
#include <boost/spirit/include/phoenix_stl.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/fusion/include/adapt_struct.hpp>
#include <boost/fusion/include/std_pair.hpp>
#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi_numeric.hpp>
#include <boost/spirit/include/classic_position_iterator.hpp>
#include <boost/spirit/include/support_multi_pass.hpp>
#include <boost/tuple/tuple.hpp>
#include <boost/variant/apply_visitor.hpp>
#include <boost/variant/recursive_variant.hpp>
#include <stan/gm/ast.hpp>
#include <stan/gm/grammars/whitespace_grammar.hpp>
#include <stan/gm/grammars/term_grammar.hpp>
#include <stan/gm/grammars/expression_grammar.hpp>

Go to the source code of this file.

Classes

struct  multiplication_expr
 
struct  multiplication_expr::result< T1, T2, T3 >
 
struct  division_expr
 
struct  division_expr::result< T1, T2, T3 >
 
struct  left_division_expr
 
struct  left_division_expr::result< T1, T2, T3 >
 
struct  elt_multiplication_expr
 
struct  elt_multiplication_expr::result< T1, T2, T3 >
 
struct  elt_division_expr
 
struct  elt_division_expr::result< T1, T2, T3 >
 
struct  negate_expr
 
struct  negate_expr::result< T1, T2 >
 
struct  logical_negate_expr
 
struct  logical_negate_expr::result< T1, T2 >
 
struct  transpose_expr
 
struct  transpose_expr::result< T1, T2 >
 
struct  add_expression_dimss
 
struct  add_expression_dimss::result< T1, T2, T3, T4 >
 
struct  set_var_type
 
struct  set_var_type::result< T1, T2, T3, T4 >
 
struct  validate_int_expr3
 
struct  validate_int_expr3::result< T1, T2 >
 
struct  validate_expr_type
 
struct  validate_expr_type::result< T1, T2 >
 

Functions

fun operator() (fun &fun, std::ostream &error_msgs) const
 
void generate_expression (const expression &e, std::ostream &o)
 

Variables

 BOOST_FUSION_ADAPT_STRUCT (stan::gm::index_op,(stan::gm::expression, expr_)(std::vector< std::vector< stan::gm::expression > >, dimss_)) BOOST_FUSION_ADAPT_STRUCT(stan
 
boost::phoenix::function
< set_fun_type > 
set_fun_type_f
 
boost::phoenix::function
< multiplication_expr
multiplication
 
boost::phoenix::function
< division_expr
division
 
boost::phoenix::function
< left_division_expr
left_division
 
boost::phoenix::function
< elt_multiplication_expr
elt_multiplication
 
boost::phoenix::function
< elt_division_expr
elt_division
 
boost::phoenix::function
< negate_expr
negate_expr_f
 
boost::phoenix::function
< logical_negate_expr
logical_negate_expr_f
 
boost::phoenix::function
< transpose_expr
transpose_f
 
boost::phoenix::function
< add_expression_dimss
add_expression_dimss_f
 
boost::phoenix::function
< set_var_type
set_var_type_f
 
boost::phoenix::function
< validate_int_expr3
validate_int_expr3_f
 
boost::phoenix::function
< validate_expr_type
validate_expr_type_f
 

Function Documentation

void generate_expression ( const expression &  e,
std::ostream &  o 
)
fun operator() ( fun &  fun,
std::ostream &  error_msgs 
) const

Definition at line 77 of file term_grammar_def.hpp.

Variable Documentation

boost::phoenix::function<add_expression_dimss> add_expression_dimss_f

Definition at line 319 of file term_grammar_def.hpp.

BOOST_FUSION_ADAPT_STRUCT(stan::gm::index_op,(stan::gm::expression, expr_)(std::vector< std::vector< stan::gm::expression > >,dimss_)) BOOST_FUSION_ADAPT_STRUCT(stan

Definition at line 48 of file term_grammar_def.hpp.

boost::phoenix::function<division_expr> division

Definition at line 159 of file term_grammar_def.hpp.

boost::phoenix::function<elt_division_expr> elt_division

Definition at line 236 of file term_grammar_def.hpp.

boost::phoenix::function<elt_multiplication_expr> elt_multiplication

Definition at line 212 of file term_grammar_def.hpp.

boost::phoenix::function<left_division_expr> left_division

Definition at line 188 of file term_grammar_def.hpp.

boost::phoenix::function<logical_negate_expr> logical_negate_expr_f

Definition at line 280 of file term_grammar_def.hpp.

boost::phoenix::function<multiplication_expr> multiplication

Definition at line 113 of file term_grammar_def.hpp.

boost::phoenix::function<negate_expr> negate_expr_f

Definition at line 260 of file term_grammar_def.hpp.

boost::phoenix::function<set_fun_type> set_fun_type_f

Definition at line 87 of file term_grammar_def.hpp.

boost::phoenix::function<set_var_type> set_var_type_f

Definition at line 340 of file term_grammar_def.hpp.

boost::phoenix::function<transpose_expr> transpose_f

Definition at line 299 of file term_grammar_def.hpp.

boost::phoenix::function<validate_expr_type> validate_expr_type_f

Definition at line 372 of file term_grammar_def.hpp.

boost::phoenix::function<validate_int_expr3> validate_int_expr3_f

Definition at line 356 of file term_grammar_def.hpp.


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