NumericalDerivatives.SetDifferencingMethods Method |
Sets the methods used to compute the derivatives.
Namespace: Imsl.MathAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntaxpublic void SetDifferencingMethods(
NumericalDerivatives. DifferencingMethod[] options
)
Public Sub SetDifferencingMethods (
options As NumericalDerivatives. DifferencingMethod()
)
public:
void SetDifferencingMethods(
array<NumericalDerivatives. DifferencingMethod>^ options
)
member SetDifferencingMethods :
options : NumericalDerivatives. DifferencingMethod[] -> unit
Parameters
- options
- Type: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.
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