![]() |
Stan
1.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< fun >, boost::recursive_wrapper< index_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 index_op &expr) | |
| expression (const binary_op &expr) | |
| expression (const unary_op &expr) | |
| expression (const expression_t &expr_) | |
| expr_type | expression_type () 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<fun>, boost::recursive_wrapper<index_op>, boost::recursive_wrapper<binary_op>, boost::recursive_wrapper<unary_op> > stan::gm::expression::expression_t |
| stan::gm::expression::expression | ( | ) |
Definition at line 300 of file ast_def.cpp.
| stan::gm::expression::expression | ( | const expression & | e | ) |
Definition at line 303 of file ast_def.cpp.
| stan::gm::expression::expression | ( | const nil & | expr | ) |
Definition at line 314 of file ast_def.cpp.
| stan::gm::expression::expression | ( | const int_literal & | expr | ) |
Definition at line 315 of file ast_def.cpp.
| stan::gm::expression::expression | ( | const double_literal & | expr | ) |
Definition at line 316 of file ast_def.cpp.
| stan::gm::expression::expression | ( | const array_literal & | expr | ) |
Definition at line 317 of file ast_def.cpp.
| stan::gm::expression::expression | ( | const variable & | expr | ) |
Definition at line 318 of file ast_def.cpp.
| stan::gm::expression::expression | ( | const fun & | expr | ) |
Definition at line 319 of file ast_def.cpp.
| stan::gm::expression::expression | ( | const index_op & | expr | ) |
Definition at line 320 of file ast_def.cpp.
| stan::gm::expression::expression | ( | const binary_op & | expr | ) |
Definition at line 321 of file ast_def.cpp.
| stan::gm::expression::expression | ( | const unary_op & | expr | ) |
Definition at line 322 of file ast_def.cpp.
| stan::gm::expression::expression | ( | const expression_t & | expr_ | ) |
Definition at line 313 of file ast_def.cpp.
| expr_type stan::gm::expression::expression_type | ( | ) | const |
Definition at line 306 of file ast_def.cpp.
| expression & stan::gm::expression::operator*= | ( | const expression & | rhs | ) |
Definition at line 890 of file ast_def.cpp.
| expression & stan::gm::expression::operator+= | ( | const expression & | rhs | ) |
Definition at line 880 of file ast_def.cpp.
| expression & stan::gm::expression::operator-= | ( | const expression & | rhs | ) |
Definition at line 885 of file ast_def.cpp.
| expression & stan::gm::expression::operator/= | ( | const expression & | rhs | ) |
Definition at line 895 of file ast_def.cpp.
| expression_t stan::gm::expression::expr_ |