OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
Namespaces | Classes | Functions
matheval::detail Namespace Reference

Namespaces

namespace  math
 

Classes

struct  binary_op
 Store a binary operator and its argument trees. More...
 
struct  ConstantFolder
 
class  eval_ast
 Evaluate the Abstract Syntax Tree. More...
 
struct  expr_ast
 Abstract Syntax Tree. More...
 
struct  nil
 
struct  recursive_wrapper
 
class  SimpleMathParser
 
struct  unary_op
 Store a unary operator and its argument tree. More...
 

Functions

template<typename real_t , typename Iterator >
expr_ast< real_t > parse (Iterator first, Iterator last)
 Parse an expression.
 

Function Documentation

◆ parse()

template<typename real_t , typename Iterator >
expr_ast< real_t > matheval::detail::parse ( Iterator  first,
Iterator  last 
)

Parse an expression.

This function builds the parser and parses the string into an AST.

Parameters
[in]firstiterator to the start of the input sequence
[in]lastiterator to the end of the input sequence

Definition at line 698 of file matheval.hpp.

References matheval::detail::SimpleMathParser< real_t >::parse().

Here is the call graph for this function: