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: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0
C#
A function of one variable that represents the numerical derivative of function
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0
public static Func<double, double> GetNumericalDifferentiator(
this Func<double, double> function
)Parameters
Return Value
Func<Double, Double>A function of one variable that represents the numerical derivative of function
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 | function is null. |