Sets the methods used to compute the derivatives.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public void SetDifferencingMethods(
	NumericalDerivatives..::.DifferencingMethod[] options
)
Visual Basic (Declaration)
Public Sub SetDifferencingMethods ( _
	options As NumericalDerivatives..::.DifferencingMethod() _
)
Visual C++
public:
void SetDifferencingMethods(
	array<NumericalDerivatives..::.DifferencingMethod>^ options
)

Parameters

options
Type: array< Imsl.Math..::.NumericalDerivatives..::.DifferencingMethod >[]()[]
A DifferencingMethod array of length n, containing the methods used to compute the derivatives. options[i] is the method to be used for the i-th variable. options[i] can be one of the values in the table which follows.
EntryDescription
OneSidedIndicates one sided differences.
CentralIndicates central differences.
AccumulateIndicates the accumulation of the result from whatever type of differences have been specified previously into initial values of the Jacobian.
SkipIndicates a variable to be skipped.

Default: OneSided differences are used for each variable.

See Also