OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
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  holds_alternative_impl
 
struct  nil
 
struct  recursive_wrapper
 
class  SimpleMathParser
 
struct  unary_op
 Store a unary operator and its argument tree. More...
 

Functions

template<typename T , typename... Ts>
bool holds_alternative (std::variant< Ts... > const &v)
 
template<typename real_t , typename Iterator >
expr_ast< real_t > parse (Iterator first, Iterator last)
 Parse an expression.
 

Class Documentation

◆ matheval::detail::nil

struct matheval::detail::nil

Definition at line 93 of file matheval.hpp.

Collaboration diagram for matheval::detail::nil:
Collaboration graph

Function Documentation

◆ holds_alternative()

template<typename T , typename... Ts>
bool matheval::detail::holds_alternative ( std::variant< Ts... > const &  v)

Definition at line 344 of file matheval.hpp.

◆ 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 685 of file matheval.hpp.

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

Here is the call graph for this function: