Stan  2.10.0
probability, sampling & optimization
Namespaces | Macros | Functions
ast_def.cpp File Reference
#include <boost/variant/apply_visitor.hpp>
#include <boost/variant/recursive_variant.hpp>
#include <stan/lang/ast.hpp>
#include <cstddef>
#include <limits>
#include <climits>
#include <istream>
#include <iostream>
#include <map>
#include <set>
#include <stdexcept>
#include <string>
#include <utility>
#include <vector>
#include <stan/lang/function_signatures.h>

Go to the source code of this file.

Namespaces

 stan
 Probability, optimization and sampling library.
 
 stan::lang
 

Macros

#define STAN_LANG_AST_DEF_CPP
 

Functions

std::ostream & stan::lang::write_base_expr_type (std::ostream &o, base_expr_type type)
 
std::ostream & stan::lang::operator<< (std::ostream &o, const expr_type &et)
 
expr_type stan::lang::promote_primitive (const expr_type &et)
 
expr_type stan::lang::promote_primitive (const expr_type &et1, const expr_type &et2)
 
bool stan::lang::is_binary_operator (const std::string &name)
 
bool stan::lang::is_unary_operator (const std::string &name)
 
bool stan::lang::is_unary_postfix_operator (const std::string &name)
 
bool stan::lang::is_operator (const std::string &name)
 
std::string stan::lang::fun_name_to_operator (const std::string &name)
 
void stan::lang::print_signature (const std::string &name, const std::vector< expr_type > &arg_types, bool sampling_error_style, std::ostream &msgs)
 
bool stan::lang::returns_type (const expr_type &return_type, const statement &statement, std::ostream &error_msgs)
 
bool stan::lang::is_linear_function (const std::string &name)
 
bool stan::lang::has_var (const expression &e, const variable_map &var_map)
 
bool stan::lang::has_non_param_var (const expression &e, const variable_map &var_map)
 
bool stan::lang::is_nil (const expression &e)
 
size_t stan::lang::total_dims (const std::vector< std::vector< expression > > &dimss)
 
expr_type stan::lang::infer_type_indexing (const base_expr_type &expr_base_type, size_t num_expr_dims, size_t num_index_dims)
 
expr_type stan::lang::infer_type_indexing (const expression &expr, size_t num_index_dims)
 
bool stan::lang::is_multi_index (const idx &idx)
 
bool stan::lang::is_data_origin (const var_origin &vo)
 
void stan::lang::print_var_origin (std::ostream &o, const var_origin &vo)
 
expr_type stan::lang::indexed_type (const expression &e, const std::vector< idx > &idxs)
 Return the type of the expression indexed by the generalized index sequence. More...
 
bool stan::lang::has_rng_suffix (const std::string &s)
 
bool stan::lang::has_lp_suffix (const std::string &s)
 
bool stan::lang::is_user_defined (const std::string &name, const std::vector< expression > &args)
 
bool stan::lang::is_user_defined_prob_function (const std::string &name, const expression &variate, const std::vector< expression > &params)
 
bool stan::lang::is_user_defined (const fun &fx)
 
bool stan::lang::is_assignable (const expr_type &l_type, const expr_type &r_type, const std::string &failure_message, std::ostream &error_msgs)
 
bool stan::lang::ends_with (const std::string &suffix, const std::string &s)
 
std::string stan::lang::get_cdf (const std::string &dist_name)
 
std::string stan::lang::get_ccdf (const std::string &dist_name)
 
std::string stan::lang::get_prob_fun (const std::string &dist_name)
 
bool stan::lang::has_prob_fun_suffix (const std::string &name)
 
std::string stan::lang::strip_prob_fun_suffix (const std::string &dist_fun)
 
bool stan::lang::has_cdf_suffix (const std::string &name)
 
std::string stan::lang::strip_cdf_suffix (const std::string &dist_fun)
 
bool stan::lang::has_ccdf_suffix (const std::string &name)
 
std::string stan::lang::strip_ccdf_suffix (const std::string &dist_fun)
 
bool stan::lang::fun_name_exists (const std::string &name)
 

Macro Definition Documentation

#define STAN_LANG_AST_DEF_CPP

Definition at line 2 of file ast_def.cpp.


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