![]() |
Stan
2.10.0
probability, sampling & optimization
|
#include <ast.hpp>
Public Types | |
typedef boost::variant< boost::recursive_wrapper< nil >, boost::recursive_wrapper< int_literal >, boost::recursive_wrapper< double_literal >, boost::recursive_wrapper< array_literal >, boost::recursive_wrapper< variable >, boost::recursive_wrapper< integrate_ode >, boost::recursive_wrapper< integrate_ode_control >, boost::recursive_wrapper< fun >, boost::recursive_wrapper< index_op >, boost::recursive_wrapper< index_op_sliced >, boost::recursive_wrapper< conditional_op >, boost::recursive_wrapper< binary_op >, boost::recursive_wrapper< unary_op > > | expression_t |
Public Member Functions | |
expression () | |
expression (const expression &e) | |
expression (const nil &expr) | |
expression (const int_literal &expr) | |
expression (const double_literal &expr) | |
expression (const array_literal &expr) | |
expression (const variable &expr) | |
expression (const fun &expr) | |
expression (const integrate_ode &expr) | |
expression (const integrate_ode_control &expr) | |
expression (const index_op &expr) | |
expression (const index_op_sliced &expr) | |
expression (const conditional_op &expr) | |
expression (const binary_op &expr) | |
expression (const unary_op &expr) | |
expression (const expression_t &expr_) | |
expr_type | expression_type () const |
int | total_dims () const |
expression & | operator+= (const expression &rhs) |
expression & | operator-= (const expression &rhs) |
expression & | operator*= (const expression &rhs) |
expression & | operator/= (const expression &rhs) |
Public Attributes | |
expression_t | expr_ |
typedef boost::variant<boost::recursive_wrapper<nil>, boost::recursive_wrapper<int_literal>, boost::recursive_wrapper<double_literal>, boost::recursive_wrapper<array_literal>, boost::recursive_wrapper<variable>, boost::recursive_wrapper<integrate_ode>, boost::recursive_wrapper<integrate_ode_control>, boost::recursive_wrapper<fun>, boost::recursive_wrapper<index_op>, boost::recursive_wrapper<index_op_sliced>, boost::recursive_wrapper<conditional_op>, boost::recursive_wrapper<binary_op>, boost::recursive_wrapper<unary_op> > stan::lang::expression::expression_t |
stan::lang::expression::expression | ( | ) |
Definition at line 701 of file ast_def.cpp.
stan::lang::expression::expression | ( | const expression & | e | ) |
Definition at line 704 of file ast_def.cpp.
stan::lang::expression::expression | ( | const nil & | expr | ) |
Definition at line 713 of file ast_def.cpp.
stan::lang::expression::expression | ( | const int_literal & | expr | ) |
Definition at line 714 of file ast_def.cpp.
stan::lang::expression::expression | ( | const double_literal & | expr | ) |
Definition at line 715 of file ast_def.cpp.
stan::lang::expression::expression | ( | const array_literal & | expr | ) |
Definition at line 716 of file ast_def.cpp.
stan::lang::expression::expression | ( | const variable & | expr | ) |
Definition at line 717 of file ast_def.cpp.
stan::lang::expression::expression | ( | const fun & | expr | ) |
Definition at line 720 of file ast_def.cpp.
stan::lang::expression::expression | ( | const integrate_ode & | expr | ) |
Definition at line 718 of file ast_def.cpp.
stan::lang::expression::expression | ( | const integrate_ode_control & | expr | ) |
Definition at line 719 of file ast_def.cpp.
stan::lang::expression::expression | ( | const index_op & | expr | ) |
Definition at line 721 of file ast_def.cpp.
stan::lang::expression::expression | ( | const index_op_sliced & | expr | ) |
Definition at line 722 of file ast_def.cpp.
stan::lang::expression::expression | ( | const conditional_op & | expr | ) |
Definition at line 723 of file ast_def.cpp.
stan::lang::expression::expression | ( | const binary_op & | expr | ) |
Definition at line 724 of file ast_def.cpp.
stan::lang::expression::expression | ( | const unary_op & | expr | ) |
Definition at line 725 of file ast_def.cpp.
stan::lang::expression::expression | ( | const expression_t & | expr_ | ) |
Definition at line 712 of file ast_def.cpp.
expr_type stan::lang::expression::expression_type | ( | ) | const |
Definition at line 707 of file ast_def.cpp.
expression & stan::lang::expression::operator*= | ( | const expression & | rhs | ) |
Definition at line 1870 of file ast_def.cpp.
expression & stan::lang::expression::operator+= | ( | const expression & | rhs | ) |
Definition at line 1860 of file ast_def.cpp.
expression & stan::lang::expression::operator-= | ( | const expression & | rhs | ) |
Definition at line 1865 of file ast_def.cpp.
expression & stan::lang::expression::operator/= | ( | const expression & | rhs | ) |
Definition at line 1875 of file ast_def.cpp.
int stan::lang::expression::total_dims | ( | ) | const |
Definition at line 727 of file ast_def.cpp.
expression_t stan::lang::expression::expr_ |