Creates a function of one variable that
represents the numerical derivative of the specified
function of one variable.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Func<double, double> GetNumericalDifferentiator(
this Func<double, double> targetFunction
)
<ExtensionAttribute>
Public Shared Function GetNumericalDifferentiator (
targetFunction As Func(Of Double, Double)
) As Func(Of Double, Double)
public:
[ExtensionAttribute]
static Func<double, double>^ GetNumericalDifferentiator(
Func<double, double>^ targetFunction
)
[<ExtensionAttribute>]
static member GetNumericalDifferentiator :
targetFunction : Func<float, float> -> Func<float, float>
Parameters
- targetFunction
- Type: SystemFuncDouble, Double
A delegate that represents a function of one variable.
Return Value
Type:
FuncDouble,
DoubleA delegate that represents a function of one variable that
represents the numerical derivative of
targetFunctionUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
FuncDouble,
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).
Central differences are used for the
calculation of the derivative.
Reference