Dew MtxVec NET
TMtxFunctionEvaluator Component
Summary
Function evaluator.

Unit
MtxParseExpr

Hierarchy
TMtxComponent <--TMtxFunctionEvaluator

Subclasses
None

Description
The component offers a simple interface to evaluate expressions. To evaluate an expression set the Formula property. The result will be formated according to ResultFormat property and placed in the Result property.

The expressions assigned to the Formula property will be compiled, prepared for execution and stored in the Expressions property. The expression parser can handle real and complex numbers, logical variables, variable assignments and more. The expression engine is fully customizable supporting user defined variables and functions.

To evalute the expression in the formula property again, set the Formula property again or call the udpate method. In either case the expression will not be parsed again, just evaluated once more.

Properties

 Name  Summary 
Context  
Expressions  
ResultAsString  

Methods

 Name  Summary 
Recalculate  

Copyright 2008 Dew Research
http://www.dewresearch.com