OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
|
Namespaces | |
namespace | math |
Classes | |
struct | binary_expr_ |
Binary expression functor. More... | |
struct | binary_op |
Store a binary operator and its argument trees. More... | |
struct | ConstantFolder |
class | eval_ast |
Evaluate the Abstract Syntax Tree. More... | |
struct | expectation_handler |
Error handler for expectation errors. More... | |
struct | expr_ast |
Abstract Syntax Tree. More... | |
struct | grammar |
Expression Grammar. More... | |
struct | holds_alternative_impl |
struct | nil |
struct | unary_expr_ |
Unary expression functor. More... | |
struct | unary_op |
Store a unary operator and its argument tree. More... | |
Functions | |
template<typename T , typename... Ts> | |
bool | holds_alternative (boost::variant< Ts... > const &v) |
template<typename real_t , typename Iterator > | |
detail::expr_ast< real_t > | parse (Iterator first, Iterator last) |
Parse an expression. More... | |
bool matheval::detail::holds_alternative | ( | boost::variant< Ts... > const & | v | ) |
Definition at line 275 of file matheval.hpp.
detail::expr_ast< real_t > matheval::detail::parse | ( | Iterator | first, |
Iterator | last | ||
) |
Parse an expression.
This function builds the grammar and parses the iterator into an AST.
[in] | first | iterator to the start of the input sequence |
[in] | last | iterator to the end of the input sequence |
Definition at line 554 of file matheval.hpp.