Function Math.Get Numerical Differentiator Method
Creates a function of one variable that
represents the numerical derivative of the specified
function of one variable.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A delegate that represents a function of one variable that represents the numerical derivative of targetFunction
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Func<double, double> GetNumericalDifferentiator(
this Func<double, double> targetFunction
)
Parameters
Return Value
Func<Double, Double>A delegate that represents a function of one variable that represents the numerical derivative of targetFunction
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Func<Double, Double>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).Remarks
Central differences are used for the calculation of the derivative.
Exceptions
Argument | targetFunction is null. |