|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
#include <matheval.hpp>
Public Member Functions | |
| SimpleMathParser (std::string_view input) | |
| expr_ast< real_t > | parse () |
Private Member Functions | |
| void | skipWhitespace () |
| bool | match (char c) |
| bool | match (const std::string &str) |
| void | expect (char c) |
| expr_ast< real_t > | parseExpression () |
| expr_ast< real_t > | parseTerm () |
| expr_ast< real_t > | parseFactor () |
| expr_ast< real_t > | parsePrimary () |
| expr_ast< real_t > | parseNumber () |
| std::string | parseIdentifier () |
Static Private Member Functions | |
| static const std::array< std::pair< std::string_view, real_t >, 4 > & | getConstants () |
| static const std::array< std::pair< std::string_view, typename unary_op< real_t >::op_t >, 31 > & | getUnaryFunctions () |
| static const std::array< std::pair< std::string_view, typename binary_op< real_t >::op_t >, 4 > & | getBinaryFunctions () |
Private Attributes | |
| std::string_view | input_ |
| size_t | pos_ |
Definition at line 416 of file matheval.hpp.
|
inline |
Definition at line 418 of file matheval.hpp.
|
inlineprivate |
Definition at line 460 of file matheval.hpp.
|
inlinestaticprivate |
Definition at line 678 of file matheval.hpp.
|
inlinestaticprivate |
Definition at line 631 of file matheval.hpp.
References Physics::e, and Physics::pi.
|
inlinestaticprivate |
Definition at line 641 of file matheval.hpp.
|
inlineprivate |
Definition at line 442 of file matheval.hpp.
|
inlineprivate |
Definition at line 451 of file matheval.hpp.
|
inline |
Definition at line 421 of file matheval.hpp.
Referenced by matheval::detail::parse().
|
inlineprivate |
Definition at line 466 of file matheval.hpp.
|
inlineprivate |
Definition at line 497 of file matheval.hpp.
References pow().

|
inlineprivate |
Definition at line 617 of file matheval.hpp.
|
inlineprivate |
Definition at line 571 of file matheval.hpp.
|
inlineprivate |
Definition at line 508 of file matheval.hpp.
References arg().

|
inlineprivate |
Definition at line 480 of file matheval.hpp.
References fmod().

|
inlineprivate |
Definition at line 436 of file matheval.hpp.
|
private |
Definition at line 433 of file matheval.hpp.
|
private |
Definition at line 434 of file matheval.hpp.