KRASCHE
&
BYRNE
         ELZED  HOME       NEWS       DOCS       DOWNLOADS       LICENSING       SUPPORT       FAQ       ABOUT  US

What's An Elzed?
Features
Licensing
Downloads
Documentation
Elzed News
    ELZED 
 Documentation 
 The Details 
 API 

lzEvalExpStrToComp

The lzEvalExpStrToComp function evaluates an expression and returns a complex result.

double lzEvalExpStrToComp(
   const char* szExpression,   // the expression to be evaluated
   double* dpImagPart   // pointer to double
);

Parameters

szExpression
   A null-terminated character string containing the expression to be evaluated.

dpImagPart
   A pointer to a double precision variable to receive the imaginary part of the complex result. Pass a NULL for this parameter if you do not want the imaginary part returned to you.

Return Value

   A double-precision value containing the real part of the result of the evaluation.

Remarks

   This call will coerce the returned result of the evaluation to a complex number result.

Versions

   Introduced in Elzed 1.2.0
Modified in Elzed 2.3.0 -- Dropped lCycles parameter.
Modified in Elzed 2.4.0 -- Expression parameter (char*) is now declared const.
   This page describes the version of lzEvalExpStrToComp active in Elzed 2.5.0 (194: 2.5.0)

See Also



  Copyright  ©  MMXXV  by  R R Le Cropane   •   All Rights Reserved   •   Terms of Use   •   Privacy Policy