![]() |
Stan
2.13.1
probability, sampling & optimization
|
#include <ast.hpp>
Public Member Functions | |
| void | set_user_defined (const std::pair< std::string, function_signature_t > &name_sig) |
| bool | is_user_defined (const std::pair< std::string, function_signature_t > &name_sig) |
| void | add (const std::string &name, const expr_type &result_type, const std::vector< expr_type > &arg_types) |
| void | add (const std::string &name, const expr_type &result_type) |
| void | add (const std::string &name, const expr_type &result_type, const expr_type &arg_type) |
| void | add (const std::string &name, const expr_type &result_type, const expr_type &arg_type1, const expr_type &arg_type2) |
| void | add (const std::string &name, const expr_type &result_type, const expr_type &arg_type1, const expr_type &arg_type2, const expr_type &arg_type3) |
| void | add (const std::string &name, const expr_type &result_type, const expr_type &arg_type1, const expr_type &arg_type2, const expr_type &arg_type3, const expr_type &arg_type4) |
| void | add (const std::string &name, const expr_type &result_type, const expr_type &arg_type1, const expr_type &arg_type2, const expr_type &arg_type3, const expr_type &arg_type4, const expr_type &arg_type5) |
| void | add (const std::string &name, const expr_type &result_type, const expr_type &arg_type1, const expr_type &arg_type2, const expr_type &arg_type3, const expr_type &arg_type4, const expr_type &arg_type5, const expr_type &arg_type6) |
| void | add (const std::string &name, const expr_type &result_type, const expr_type &arg_type1, const expr_type &arg_type2, const expr_type &arg_type3, const expr_type &arg_type4, const expr_type &arg_type5, const expr_type &arg_type6, const expr_type &arg_type7) |
| void | add_nullary (const ::std::string &name) |
| void | add_unary (const ::std::string &name) |
| void | add_unary_vectorized (const ::std::string &name) |
| void | add_binary (const ::std::string &name) |
| void | add_ternary (const ::std::string &name) |
| void | add_quaternary (const ::std::string &name) |
| int | num_promotions (const std::vector< expr_type > &call_args, const std::vector< expr_type > &sig_args) |
| expr_type | get_result_type (const std::string &name, const std::vector< expr_type > &args, std::ostream &error_msgs, bool sampling_error_style=false) |
| int | get_signature_matches (const std::string &name, const std::vector< expr_type > &args, function_signature_t &signature) |
| bool | is_defined (const std::string &name, const function_signature_t &sig) |
| bool | has_user_defined_key (const std::string &name) const |
| std::set< std::string > | key_set () const |
| bool | has_key (const std::string &key) const |
| bool | discrete_first_arg (const std::string &name) const |
Static Public Member Functions | |
| static function_signatures & | instance () |
| static void | reset_sigs () |
| void stan::lang::function_signatures::add | ( | const std::string & | name, |
| const expr_type & | result_type, | ||
| const std::vector< expr_type > & | arg_types | ||
| ) |
Definition at line 201 of file ast_def.cpp.
| void stan::lang::function_signatures::add | ( | const std::string & | name, |
| const expr_type & | result_type | ||
| ) |
Definition at line 206 of file ast_def.cpp.
| void stan::lang::function_signatures::add | ( | const std::string & | name, |
| const expr_type & | result_type, | ||
| const expr_type & | arg_type | ||
| ) |
Definition at line 211 of file ast_def.cpp.
| void stan::lang::function_signatures::add | ( | const std::string & | name, |
| const expr_type & | result_type, | ||
| const expr_type & | arg_type1, | ||
| const expr_type & | arg_type2 | ||
| ) |
Definition at line 218 of file ast_def.cpp.
| void stan::lang::function_signatures::add | ( | const std::string & | name, |
| const expr_type & | result_type, | ||
| const expr_type & | arg_type1, | ||
| const expr_type & | arg_type2, | ||
| const expr_type & | arg_type3 | ||
| ) |
Definition at line 227 of file ast_def.cpp.
| void stan::lang::function_signatures::add | ( | const std::string & | name, |
| const expr_type & | result_type, | ||
| const expr_type & | arg_type1, | ||
| const expr_type & | arg_type2, | ||
| const expr_type & | arg_type3, | ||
| const expr_type & | arg_type4 | ||
| ) |
Definition at line 238 of file ast_def.cpp.
| void stan::lang::function_signatures::add | ( | const std::string & | name, |
| const expr_type & | result_type, | ||
| const expr_type & | arg_type1, | ||
| const expr_type & | arg_type2, | ||
| const expr_type & | arg_type3, | ||
| const expr_type & | arg_type4, | ||
| const expr_type & | arg_type5 | ||
| ) |
Definition at line 251 of file ast_def.cpp.
| void stan::lang::function_signatures::add | ( | const std::string & | name, |
| const expr_type & | result_type, | ||
| const expr_type & | arg_type1, | ||
| const expr_type & | arg_type2, | ||
| const expr_type & | arg_type3, | ||
| const expr_type & | arg_type4, | ||
| const expr_type & | arg_type5, | ||
| const expr_type & | arg_type6 | ||
| ) |
Definition at line 266 of file ast_def.cpp.
| void stan::lang::function_signatures::add | ( | const std::string & | name, |
| const expr_type & | result_type, | ||
| const expr_type & | arg_type1, | ||
| const expr_type & | arg_type2, | ||
| const expr_type & | arg_type3, | ||
| const expr_type & | arg_type4, | ||
| const expr_type & | arg_type5, | ||
| const expr_type & | arg_type6, | ||
| const expr_type & | arg_type7 | ||
| ) |
Definition at line 283 of file ast_def.cpp.
| void stan::lang::function_signatures::add_binary | ( | const ::std::string & | name | ) |
Definition at line 318 of file ast_def.cpp.
| void stan::lang::function_signatures::add_nullary | ( | const ::std::string & | name | ) |
Definition at line 302 of file ast_def.cpp.
| void stan::lang::function_signatures::add_quaternary | ( | const ::std::string & | name | ) |
Definition at line 324 of file ast_def.cpp.
| void stan::lang::function_signatures::add_ternary | ( | const ::std::string & | name | ) |
Definition at line 321 of file ast_def.cpp.
| void stan::lang::function_signatures::add_unary | ( | const ::std::string & | name | ) |
Definition at line 305 of file ast_def.cpp.
| void stan::lang::function_signatures::add_unary_vectorized | ( | const ::std::string & | name | ) |
Definition at line 308 of file ast_def.cpp.
| bool stan::lang::function_signatures::discrete_first_arg | ( | const std::string & | name | ) | const |
Definition at line 183 of file ast_def.cpp.
| expr_type stan::lang::function_signatures::get_result_type | ( | const std::string & | name, |
| const std::vector< expr_type > & | args, | ||
| std::ostream & | error_msgs, | ||
| bool | sampling_error_style = false |
||
| ) |
Definition at line 453 of file ast_def.cpp.
| int stan::lang::function_signatures::get_signature_matches | ( | const std::string & | name, |
| const std::vector< expr_type > & | args, | ||
| function_signature_t & | signature | ||
| ) |
Definition at line 346 of file ast_def.cpp.
| bool stan::lang::function_signatures::has_key | ( | const std::string & | key | ) | const |
Definition at line 557 of file ast_def.cpp.
| bool stan::lang::function_signatures::has_user_defined_key | ( | const std::string & | name | ) | const |
Definition at line 528 of file ast_def.cpp.
|
static |
Definition at line 150 of file ast_def.cpp.
| bool stan::lang::function_signatures::is_defined | ( | const std::string & | name, |
| const function_signature_t & | sig | ||
| ) |
Definition at line 172 of file ast_def.cpp.
| bool stan::lang::function_signatures::is_user_defined | ( | const std::pair< std::string, function_signature_t > & | name_sig | ) |
Definition at line 166 of file ast_def.cpp.
| std::set< std::string > stan::lang::function_signatures::key_set | ( | ) | const |
Definition at line 543 of file ast_def.cpp.
| int stan::lang::function_signatures::num_promotions | ( | const std::vector< expr_type > & | call_args, |
| const std::vector< expr_type > & | sig_args | ||
| ) |
Definition at line 327 of file ast_def.cpp.
|
static |
Definition at line 145 of file ast_def.cpp.
| void stan::lang::function_signatures::set_user_defined | ( | const std::pair< std::string, function_signature_t > & | name_sig | ) |
Definition at line 158 of file ast_def.cpp.