The type of numerical differentiation to be used.

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

Syntax

C#
public int DifferentiationType { get; set; }
Visual Basic (Declaration)
Public Property DifferentiationType As Integer
Visual C++
public:
property int DifferentiationType {
	int get ();
	void set (int value);
}

Field Value

An int scalar value specifying the type of numerical differentiation to be used. By default, DifferentiationType is set to 1.

ValueAction
1Use a forward difference quotient with discretization stepsize 0.1\left( \mbox{\it FunctionPrecision}^{1/2}\right) componentwise relative. This is the default value used.
2Use the symmetric difference quotient with discretization stepsize 0.1\left( \mbox{\it FunctionPrecision}^{1/3}\right) componentwise relative.
3Use the sixth order approximation computing a Richardson extrapolation of three symmetric difference quotient values. This uses a discretization stepsize 0.01\left( \mbox{\it FunctionPrecision}^{1/7}\right) .

Exceptions

ExceptionCondition
System..::.ArgumentException is thrown if DifferentiationType is set to a value less than or equal to 0, or greater than or equal to 4

See Also