OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
|
Store a binary operator and its argument trees. More...
#include <matheval.hpp>
Public Types | |
using | op_t = std::function< real_t(real_t, real_t)> |
Signature of a binary operator: op(x,y) More... | |
Public Member Functions | |
binary_op (op_t op, expr_ast< real_t > lhs, expr_ast< real_t > rhs) | |
Save the operator and the argument trees. More... | |
Public Attributes | |
op_t | op |
Stored operator. More... | |
expr_ast< real_t > | lhs |
Stored argument tree of first argument. More... | |
expr_ast< real_t > | rhs |
Stored argument tree of second argument. More... | |
Store a binary operator and its argument trees.
Definition at line 159 of file matheval.hpp.
using matheval::detail::binary_op< real_t >::op_t = std::function<real_t(real_t,real_t)> |
Signature of a binary operator: op(x,y)
Definition at line 162 of file matheval.hpp.
|
inline |
Save the operator and the argument trees.
Definition at line 165 of file matheval.hpp.
expr_ast<real_t> matheval::detail::binary_op< real_t >::lhs |
Stored argument tree of first argument.
Definition at line 172 of file matheval.hpp.
op_t matheval::detail::binary_op< real_t >::op |
Stored operator.
Definition at line 170 of file matheval.hpp.
expr_ast<real_t> matheval::detail::binary_op< real_t >::rhs |
Stored argument tree of second argument.
Definition at line 174 of file matheval.hpp.