C# Class MathExpressionsNET.MathFunc

Afficher le fichier Open project: KvanTTT/MathExpressions.NET Class Usage Examples

Méthodes publiques

Свойство Type Description
DerivativeDelta double
Static bool

Méthodes publiques

Méthode Description
Compile ( MathFuncAssemblyCecil mathFuncAssembly, string funcName ) : void
ContainsNaN ( ) : bool
EmitArgLoad ( ILProcessor ilProcessor, int argNumber ) : void
EmitLocalLoad ( ILProcessor ilProcessor, int localNumber ) : void
EmitLocalSave ( ILProcessor ilProcessor, int localNumber ) : void
GetDerivative ( ) : MathFunc
GetPrecompilied ( ) : MathFunc

Méthodes protégées

Méthode Description
SetParamsAndUnknownFuncsArgNumbers ( MathFuncNode node ) : void

Private Methods

Méthode Description
AddFuncArgs ( AssemblyDefinition assembly, ILProcessor ilProc ) : void
CalculateValues ( KnownFuncType funcType, IList args ) : CalculatedNode
ContainsNaNHelper ( MathFuncNode node ) : bool
DefineLocals ( ) : void
DefineLocals ( MathFuncNode node ) : void
EmitAddFunc ( MathExpressionsNET.FuncNode funcNode ) : bool
EmitDiffFunc ( MathExpressionsNET.FuncNode funcNode ) : bool
EmitDivFunc ( MathExpressionsNET.FuncNode funcNode ) : bool
EmitExpFunc ( MathExpressionsNET.FuncNode funcNode, bool negExpAbs ) : bool
EmitFunc ( MathExpressionsNET.FuncNode funcNode, bool negExpAbs = false ) : bool
EmitInstruction ( ILProcessor ilProcessor, OpCodeArg instr, bool staticFunc ) : void
EmitKnownFunc ( MathExpressionsNET.FuncNode funcNode ) : bool
EmitMultFunc ( MathExpressionsNET.FuncNode funcNode ) : bool
EmitNegFunc ( MathExpressionsNET.FuncNode funcNode, bool negExpAbs ) : bool
EmitNode ( MathFuncNode node, bool negExpAbs = false ) : void
EmitSubFunc ( MathExpressionsNET.FuncNode funcNode ) : bool
EmitUnknownFunc ( MathExpressionsNET.FuncNode funcNode ) : bool
FoldCalculatedSummands ( MathExpressionsNET.FuncNode sum ) : MathExpressionsNET.FuncNode
GetDerivative ( MathFuncNode node ) : MathFuncNode
GetDerivatives ( MathFuncNode root ) : void
GetFuncDerivative ( MathExpressionsNET.FuncNode funcNode ) : MathFuncNode
InvertLocalVariablesNumbers ( MathFuncNode node ) : void
IsIntersect ( VariableLifetimeCycle cycle1, List cycles ) : bool
IsIntersect ( VariableLifetimeCycle cycle1, VariableLifetimeCycle cycle2 ) : bool
MakeSubstitution ( MathFuncNode node ) : MathFuncNode
MakeSubstitution ( MathFuncNode left, MathFuncNode right, MathExpressionsNET.FuncNode currentFunc ) : MathFuncNode
MultCalculatedFactors ( MathExpressionsNET.FuncNode mult ) : MathExpressionsNET.FuncNode
OptimizeInstructions ( ) : void
OptimizeLocalVariables ( int &localVarNumber ) : void
Precompile ( MathFuncNode parent, MathFuncNode node ) : MathFuncNode
PrecompileAddFunc ( MathExpressionsNET.FuncNode funcNode ) : MathFuncNode
PrecompileExpFunc ( MathFuncNode parent, MathExpressionsNET.FuncNode funcNode ) : MathExpressionsNET.FuncNode
PrecompileMultFunc ( MathExpressionsNET.FuncNode funcNode ) : MathFuncNode

Method Details

Compile() public méthode

public Compile ( MathFuncAssemblyCecil mathFuncAssembly, string funcName ) : void
mathFuncAssembly MathFuncAssemblyCecil
funcName string
Résultat void

ContainsNaN() public méthode

public ContainsNaN ( ) : bool
Résultat bool

EmitArgLoad() public static méthode

public static EmitArgLoad ( ILProcessor ilProcessor, int argNumber ) : void
ilProcessor ILProcessor
argNumber int
Résultat void

EmitLocalLoad() public static méthode

public static EmitLocalLoad ( ILProcessor ilProcessor, int localNumber ) : void
ilProcessor ILProcessor
localNumber int
Résultat void

EmitLocalSave() public static méthode

public static EmitLocalSave ( ILProcessor ilProcessor, int localNumber ) : void
ilProcessor ILProcessor
localNumber int
Résultat void

GetDerivative() public méthode

public GetDerivative ( ) : MathFunc
Résultat MathFunc

GetPrecompilied() public méthode

public GetPrecompilied ( ) : MathFunc
Résultat MathFunc

SetParamsAndUnknownFuncsArgNumbers() protected méthode

protected SetParamsAndUnknownFuncsArgNumbers ( MathFuncNode node ) : void
node MathFuncNode
Résultat void

Property Details

DerivativeDelta public_oe property

public double DerivativeDelta
Résultat double

Static public_oe property

public bool Static
Résultat bool