Click or drag to resize
Accord.NET (logo)

FiniteDifferencesDerivative Method (FuncDouble, Double, Double)

Computes the derivative for a simpler unidimensional function.

Namespace:  Accord.Math.Differentiation
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static double Derivative(
	Func<double, double> function,
	double value
)
Request Example View Source

Parameters

function
Type: SystemFuncDouble, Double
The function to be differentiated.
value
Type: SystemDouble
The value x at which the derivative should be evaluated.

Return Value

Type: Double
The derivative of the function at the point value.
See Also