![]() |
Stan
1.3
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 311 of file ast_def.cpp.
| stan::gm::expression::expression | ( | const expression & | e | ) |
Definition at line 314 of file ast_def.cpp.
| stan::gm::expression::expression | ( | const nil & | expr | ) |
Definition at line 325 of file ast_def.cpp.
| stan::gm::expression::expression | ( | const int_literal & | expr | ) |
Definition at line 326 of file ast_def.cpp.
| stan::gm::expression::expression | ( | const double_literal & | expr | ) |
Definition at line 327 of file ast_def.cpp.
| stan::gm::expression::expression | ( | const array_literal & | expr | ) |
Definition at line 328 of file ast_def.cpp.
| stan::gm::expression::expression | ( | const variable & | expr | ) |
Definition at line 329 of file ast_def.cpp.
| stan::gm::expression::expression | ( | const fun & | expr | ) |
Definition at line 330 of file ast_def.cpp.
| stan::gm::expression::expression | ( | const index_op & | expr | ) |
Definition at line 331 of file ast_def.cpp.
| stan::gm::expression::expression | ( | const binary_op & | expr | ) |
Definition at line 332 of file ast_def.cpp.
| stan::gm::expression::expression | ( | const unary_op & | expr | ) |
Definition at line 333 of file ast_def.cpp.
| stan::gm::expression::expression | ( | const expression_t & | expr_ | ) |
Definition at line 324 of file ast_def.cpp.
| expr_type stan::gm::expression::expression_type | ( | ) | const |
Definition at line 317 of file ast_def.cpp.
| expression & stan::gm::expression::operator*= | ( | const expression & | rhs | ) |
Definition at line 916 of file ast_def.cpp.
| expression & stan::gm::expression::operator+= | ( | const expression & | rhs | ) |
Definition at line 906 of file ast_def.cpp.
| expression & stan::gm::expression::operator-= | ( | const expression & | rhs | ) |
Definition at line 911 of file ast_def.cpp.
| expression & stan::gm::expression::operator/= | ( | const expression & | rhs | ) |
Definition at line 921 of file ast_def.cpp.
| expression_t stan::gm::expression::expr_ |