NumericalDerivativesSetDifferencingMethods Method |
Sets the methods used to compute the derivatives.
Namespace: Imsl.MathAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public void SetDifferencingMethods(
NumericalDerivativesDifferencingMethod[] options
)
Public Sub SetDifferencingMethods (
options As NumericalDerivativesDifferencingMethod()
)
public:
void SetDifferencingMethods(
array<NumericalDerivativesDifferencingMethod>^ options
)
member SetDifferencingMethods :
options : NumericalDerivativesDifferencingMethod[] -> unit
Parameters
- options
- Type: Imsl.MathNumericalDerivativesDifferencingMethod
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.
Entry | Description |
---|
OneSided | Indicates one sided differences. |
Central | Indicates central differences. |
Accumulate | Indicates the accumulation of the result from
whatever type of differences have been specified previously into
initial values of the Jacobian. |
Skip | Indicates a variable to be skipped. |
Default: OneSided differences are used for each variable.
See Also