mu::ParserComplex Class Reference

Mathematical expressions parser. More...

#include <muParserComplex.h>

Inheritance diagram for mu::ParserComplex:

mu::ParserBase

List of all members.

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)


Detailed Description

Mathematical expressions parser.

This version of the parser handles only complex numbers. It disables the built in operators thus it is slower than muParser.


Constructor & Destructor Documentation

mu::ParserComplex::ParserComplex (  ) 

Constructor.

Call ParserBase class constructor and trigger Function, Operator and Constant initialization.

References InitOprt().


The documentation for this class was generated from the following files:

Generated on Sun Jun 22 00:57:25 2008 for muParser by  doxygen 1.5.5