C# 클래스 AK.ExpressionSolver

파일 보기 프로젝트 열기: akuukka/ExpressionSolver 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
undefinedVariablePolicy UndefinedVariablePolicy

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

AddCustomFunction() 공개 메소드

public AddCustomFunction ( string name, double>.System func, bool enableSymbolicationTimeEvaluation = false ) : void
name string
func double>.System
enableSymbolicationTimeEvaluation bool
리턴 void

AddCustomFunction() 공개 메소드

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

AddCustomFunction() 공개 메소드

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

ClearGlobalVariables() 공개 메소드

public ClearGlobalVariables ( ) : void
리턴 void

EvaluateExpression() 공개 메소드

public EvaluateExpression ( string formula ) : double
formula string
리턴 double

ExpressionSolver() 공개 메소드

public ExpressionSolver ( ) : System.Collections
리턴 System.Collections

GetGlobalVariable() 공개 메소드

public GetGlobalVariable ( string name ) : Variable
name string
리턴 Variable

GetSymbolValue() 공개 정적인 메소드

public static GetSymbolValue ( Symbol s ) : double
s Symbol
리턴 double

RemoveCustomFunction() 공개 메소드

public RemoveCustomFunction ( string name ) : void
name string
리턴 void

RemoveGlobalVariable() 공개 메소드

public RemoveGlobalVariable ( string name ) : bool
name string
리턴 bool

SetGlobalVariable() 공개 메소드

public SetGlobalVariable ( string name, double value ) : Variable
name string
value double
리턴 Variable

SetGlobalVariable() 공개 메소드

public SetGlobalVariable ( string name, string value ) : Variable
name string
value string
리턴 Variable

SymbolicateExpression() 공개 메소드

public SymbolicateExpression ( string formula, string localVariable ) : Expression
formula string
localVariable string
리턴 Expression

프로퍼티 상세

undefinedVariablePolicy 공개적으로 프로퍼티

public UndefinedVariablePolicy undefinedVariablePolicy
리턴 UndefinedVariablePolicy