C# Class AK.ExpressionSolver

Afficher le fichier Open project: akuukka/ExpressionSolver Class Usage Examples

Méthodes publiques

Свойство Type Description
undefinedVariablePolicy UndefinedVariablePolicy

Méthodes publiques

Méthode Description
AddCustomFunction ( string name, double>.System func, bool enableSymbolicationTimeEvaluation = false ) : void
AddCustomFunction ( string name, int paramCount, double>.System func, bool enableSymbolicationTimeEvaluation = false ) : void
AddCustomFunction ( string name, int paramCount, double>.System func, bool enableSymbolicationTimeEvaluation = false ) : void
ClearGlobalVariables ( ) : void
EvaluateExpression ( string formula ) : double
ExpressionSolver ( ) : System.Collections
GetGlobalVariable ( string name ) : Variable
GetSymbolValue ( Symbol s ) : double
RemoveCustomFunction ( string name ) : void
RemoveGlobalVariable ( string name ) : bool
SetGlobalVariable ( string name, double value ) : Variable
SetGlobalVariable ( string name, string value ) : Variable
SymbolicateExpression ( string formula, string localVariable ) : Expression

Private Methods

Méthode Description
ParseSymbols ( SymbolList syms ) : double
Symbolicate ( string formula, int begin, int end, Expression exp ) : Symbol
SymbolicateMonome ( string formula, int begin, int end, Expression exp ) : Symbol
SymbolicateValue ( string formula, int begin, int end, Expression exp ) : Symbol

Method Details

AddCustomFunction() public méthode

public AddCustomFunction ( string name, double>.System func, bool enableSymbolicationTimeEvaluation = false ) : void
name string
func double>.System
enableSymbolicationTimeEvaluation bool
Résultat void

AddCustomFunction() public méthode

public AddCustomFunction ( string name, int paramCount, double>.System func, bool enableSymbolicationTimeEvaluation = false ) : void
name string
paramCount int
func double>.System
enableSymbolicationTimeEvaluation bool
Résultat void

AddCustomFunction() public méthode

public AddCustomFunction ( string name, int paramCount, double>.System func, bool enableSymbolicationTimeEvaluation = false ) : void
name string
paramCount int
func double>.System
enableSymbolicationTimeEvaluation bool
Résultat void

ClearGlobalVariables() public méthode

public ClearGlobalVariables ( ) : void
Résultat void

EvaluateExpression() public méthode

public EvaluateExpression ( string formula ) : double
formula string
Résultat double

ExpressionSolver() public méthode

public ExpressionSolver ( ) : System.Collections
Résultat System.Collections

GetGlobalVariable() public méthode

public GetGlobalVariable ( string name ) : Variable
name string
Résultat Variable

GetSymbolValue() public static méthode

public static GetSymbolValue ( Symbol s ) : double
s Symbol
Résultat double

RemoveCustomFunction() public méthode

public RemoveCustomFunction ( string name ) : void
name string
Résultat void

RemoveGlobalVariable() public méthode

public RemoveGlobalVariable ( string name ) : bool
name string
Résultat bool

SetGlobalVariable() public méthode

public SetGlobalVariable ( string name, double value ) : Variable
name string
value double
Résultat Variable

SetGlobalVariable() public méthode

public SetGlobalVariable ( string name, string value ) : Variable
name string
value string
Résultat Variable

SymbolicateExpression() public méthode

public SymbolicateExpression ( string formula, string localVariable ) : Expression
formula string
localVariable string
Résultat Expression

Property Details

undefinedVariablePolicy public_oe property

public UndefinedVariablePolicy undefinedVariablePolicy
Résultat UndefinedVariablePolicy