Click or drag to resize
Accord.NET (logo)

FiniteDifferences Constructor (Int32, FuncDouble, Double, Int32, Double)

Initializes a new instance of the FiniteDifferences class.

Namespace:  Accord.Math.Differentiation
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public FiniteDifferences(
	int variables,
	Func<double[], double> function,
	int order,
	double stepSize
)
Request Example View Source

Parameters

variables
Type: SystemInt32
The number of free parameters in the function.
function
Type: SystemFuncDouble, Double
The function to be differentiated.
order
Type: SystemInt32
The derivative order that should be obtained. Default is 1.
stepSize
Type: SystemDouble
The relative step size used to approximate the derivatives. Default is 0.01.
See Also