|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
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) | |
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. | |
| binary_op (const binary_op &other) | |
| binary_op (binary_op &&) noexcept=default | |
| binary_op & | operator= (const binary_op &other) |
| binary_op & | operator= (binary_op &&) noexcept=default |
Public Attributes | |
| op_t | op |
| Stored operator. | |
| std::unique_ptr< expr_ast< real_t > > | lhs |
| Stored argument tree of first argument. | |
| std::unique_ptr< expr_ast< real_t > > | rhs |
| Stored argument tree of second argument. | |
Store a binary operator and its argument trees.
Definition at line 206 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 208 of file matheval.hpp.
|
inline |
Save the operator and the argument trees.
Definition at line 211 of file matheval.hpp.
|
inline |
Definition at line 216 of file matheval.hpp.
|
defaultnoexcept |
|
defaultnoexcept |
|
inline |
Definition at line 223 of file matheval.hpp.
References matheval::detail::unary_op< real_t >::op, matheval::detail::binary_op< real_t >::op, and matheval::detail::unary_op< real_t >::rhs.
| std::unique_ptr<expr_ast<real_t> > matheval::detail::binary_op< real_t >::lhs |
Stored argument tree of first argument.
Definition at line 237 of file matheval.hpp.
Referenced by matheval::detail::eval_ast< real_t >::operator()(), and matheval::detail::ConstantFolder< real_t >::operator()().
| op_t matheval::detail::binary_op< real_t >::op |
Stored operator.
Definition at line 235 of file matheval.hpp.
Referenced by matheval::detail::eval_ast< real_t >::operator()(), matheval::detail::ConstantFolder< real_t >::operator()(), and matheval::detail::binary_op< real_t >::operator=().
| std::unique_ptr<expr_ast<real_t> > matheval::detail::binary_op< real_t >::rhs |
Stored argument tree of second argument.
Definition at line 239 of file matheval.hpp.
Referenced by matheval::detail::eval_ast< real_t >::operator()(), and matheval::detail::ConstantFolder< real_t >::operator()().