#include <muParserComplex.h>

Public Types | |
| typedef std::complex< float > | complex_type |
Public Member Functions | |
| ParserComplex () | |
| Constructor. | |
| complex_type | Eval () |
Private Member Functions | |
| virtual void | InitOprt () |
| Initialize operators. | |
| virtual void | InitCharSets () |
| virtual void | InitFun () |
| virtual void | InitConst () |
Static Private Member Functions | |
| static value_type | UnaryMinus (value_type) |
| static value_type | Add (value_type v1, value_type v2) |
| static value_type | Sub (value_type v1, value_type v2) |
| static value_type | Mul (value_type v1, value_type v2) |
| static value_type | Div (value_type v1, value_type v2) |
| static value_type | Sin (value_type) |
| static value_type | Cos (value_type) |
| static value_type | Tan (value_type) |
| static value_type | Sqrt (value_type) |
| static int | IsVal (const char_type *a_szExpr, int *a_iPos, value_type *a_iVal) |
| static complex_type | UnpackToComplex (double val) |
| static double | PackToDouble (const complex_type &val) |
This version of the parser handles only complex numbers. It disables the built in operators thus it is slower than muParser.
| mu::ParserComplex::ParserComplex | ( | ) |
Constructor.
Call ParserBase class constructor and trigger Function, Operator and Constant initialization.
References InitOprt().
1.5.5