Function Math.Backward Derivative Method
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Backward | Returns an approximation to the derivative of a function by using only function values at x and and values smaller than x. |
Backward | Returns an approximation to the derivative of a function by using only function values at x and and values smaller than x. |
Backward | Returns an approximation to the derivative of a function by using only function values at x and and values smaller than x. |
BackwardDerivative(Func<Double, Double>, Double)
Returns an approximation to the derivative of a function
by using only function values at x and
and values smaller than x.
public static double BackwardDerivative(
this Func<double, double> targetFunction,
double x
)
Parameters
- targetFunction Func<Double, Double>
- A delegate that represents a function of one variable that specifies the function to differentiate.
- x Double
- The point at which to evaluate the derivative.
Return Value
DoubleA numerical approximation to the derivative of targetFunction at x.
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).Exceptions
Argument | targetFunction is null. |
BackwardDerivative(Func<Double, Double>, Double, Double)
Returns an approximation to the derivative of a function
by using only function values at x and
and values smaller than x.
public static double BackwardDerivative(
this Func<double, double> targetFunction,
double x,
out double estimatedError
)
Parameters
- targetFunction Func<Double, Double>
- A delegate that represents a function of one variable that specifies the function to differentiate.
- x Double
- The point at which to evaluate the derivative.
- estimatedError Double
- On exit, this parameter contains an estimate of the absolute error of the approximation.
Return Value
DoubleA numerical approximation to the derivative of targetFunction at x.
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).Exceptions
Argument | targetFunction is null. |
BackwardDerivative(Func<Double, Double>, Double, Double, Int32)
Returns an approximation to the derivative of a function
by using only function values at x and
and values smaller than x.
public static double BackwardDerivative(
this Func<double, double> targetFunction,
double x,
out double estimatedError,
out int evaluationsNeeded
)
Parameters
- targetFunction Func<Double, Double>
- A delegate that represents a function of one variable that specifies the function to differentiate.
- x Double
- The point at which to evaluate the derivative.
- estimatedError Double
- On exit, this parameter contains an estimate of the absolute error of the approximation.
- evaluationsNeeded Int32
- On exit, this parameter contains the number of function evaluations needed to calculate the numerical derivative.
Return Value
DoubleA numerical approximation to the derivative of targetFunction at x.
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).Exceptions
Argument | targetFunction is null. |