![]() |
Stan
2.14.0
probability, sampling & optimization
|
#include <expression.hpp>
Public Types | |
typedef boost::variant< boost::recursive_wrapper< nil >, boost::recursive_wrapper< int_literal >, boost::recursive_wrapper< double_literal >, boost::recursive_wrapper< array_expr >, 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_expr &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_ |
Definition at line 41 of file expression.hpp.
typedef boost::variant<boost::recursive_wrapper<nil>, boost::recursive_wrapper<int_literal>, boost::recursive_wrapper<double_literal>, boost::recursive_wrapper<array_expr>, 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 |
Definition at line 55 of file expression.hpp.
stan::lang::expression::expression | ( | ) |
Definition at line 10 of file expression_def.hpp.
stan::lang::expression::expression | ( | const expression & | e | ) |
Definition at line 14 of file expression_def.hpp.
stan::lang::expression::expression | ( | const nil & | expr | ) |
Definition at line 20 of file expression_def.hpp.
stan::lang::expression::expression | ( | const int_literal & | expr | ) |
Definition at line 22 of file expression_def.hpp.
stan::lang::expression::expression | ( | const double_literal & | expr | ) |
Definition at line 24 of file expression_def.hpp.
stan::lang::expression::expression | ( | const array_expr & | expr | ) |
Definition at line 26 of file expression_def.hpp.
stan::lang::expression::expression | ( | const variable & | expr | ) |
Definition at line 28 of file expression_def.hpp.
stan::lang::expression::expression | ( | const fun & | expr | ) |
Definition at line 34 of file expression_def.hpp.
stan::lang::expression::expression | ( | const integrate_ode & | expr | ) |
Definition at line 30 of file expression_def.hpp.
stan::lang::expression::expression | ( | const integrate_ode_control & | expr | ) |
Definition at line 32 of file expression_def.hpp.
stan::lang::expression::expression | ( | const index_op & | expr | ) |
Definition at line 36 of file expression_def.hpp.
stan::lang::expression::expression | ( | const index_op_sliced & | expr | ) |
Definition at line 38 of file expression_def.hpp.
stan::lang::expression::expression | ( | const conditional_op & | expr | ) |
Definition at line 40 of file expression_def.hpp.
stan::lang::expression::expression | ( | const binary_op & | expr | ) |
Definition at line 42 of file expression_def.hpp.
stan::lang::expression::expression | ( | const unary_op & | expr | ) |
Definition at line 44 of file expression_def.hpp.
stan::lang::expression::expression | ( | const expression_t & | expr_ | ) |
Definition at line 18 of file expression_def.hpp.
expr_type stan::lang::expression::expression_type | ( | ) | const |
Definition at line 66 of file expression_def.hpp.
expression & stan::lang::expression::operator*= | ( | const expression & | rhs | ) |
Definition at line 56 of file expression_def.hpp.
expression & stan::lang::expression::operator+= | ( | const expression & | rhs | ) |
Definition at line 46 of file expression_def.hpp.
expression & stan::lang::expression::operator-= | ( | const expression & | rhs | ) |
Definition at line 51 of file expression_def.hpp.
expression & stan::lang::expression::operator/= | ( | const expression & | rhs | ) |
Definition at line 61 of file expression_def.hpp.
int stan::lang::expression::total_dims | ( | ) | const |
Definition at line 71 of file expression_def.hpp.
expression_t stan::lang::expression::expr_ |
Definition at line 84 of file expression.hpp.