C# Class AK.Expression

Show file Open project: akuukka/ExpressionSolver Class Usage Examples

Public Properties

Property Type Description
constants Variable>.Dictionary
root Symbol

Public Methods

Method Description
Evaluate ( ) : double
GetVariable ( string name ) : Variable

Get reference to a variable that has been set up already.

SetVariable ( string name, double value ) : Variable
SetVariable ( string name, string value ) : Variable
ToString ( ) : string

Method Details

Evaluate() public method

public Evaluate ( ) : double
return double

GetVariable() public method

Get reference to a variable that has been set up already.
public GetVariable ( string name ) : Variable
name string Name of the variable.
return Variable

SetVariable() public method

public SetVariable ( string name, double value ) : Variable
name string
value double
return Variable

SetVariable() public method

public SetVariable ( string name, string value ) : Variable
name string
value string
return Variable

ToString() public method

public ToString ( ) : string
return string

Property Details

constants public property

public Dictionary constants
return Variable>.Dictionary

root public property

public Symbol,AK root
return Symbol