OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
Store a unary operator and its argument tree. More...
#include <matheval.hpp>
Public Types | |
using | op_t = std::function< real_t(real_t)> |
Signature of a unary operator: op(x) More... | |
Public Member Functions | |
unary_op (op_t op, expr_ast< real_t > rhs) | |
Save the operator and the argument tree. More... | |
Public Attributes | |
op_t | op |
Stored operator. More... | |
expr_ast< real_t > | rhs |
Stored argument tree. More... | |
Store a unary operator and its argument tree.
Definition at line 141 of file matheval.hpp.
using matheval::detail::unary_op< real_t >::op_t = std::function<real_t(real_t)> |
Signature of a unary operator: op(x)
Definition at line 144 of file matheval.hpp.
|
inline |
Save the operator and the argument tree.
Definition at line 147 of file matheval.hpp.
op_t matheval::detail::unary_op< real_t >::op |
Stored operator.
Definition at line 152 of file matheval.hpp.
expr_ast<real_t> matheval::detail::unary_op< real_t >::rhs |
Stored argument tree.
Definition at line 154 of file matheval.hpp.