IMSL C# Numerical Library

Quadrature.ErrorStatus Property

Returns the non-fatal error status.

public int ErrorStatus {get;}

Property Value

An int specifying the non-fatal error status:

Status Meaning
0No error.
1 Maximum number of subdivisions allowed has been achieved. One can allow more subdivisions by setting the MaxSubintervals. If this yields no improvement it is advised to analyze the integrand in order to determine the integration difficulties. If the position of a local difficulty can be determined (e.g. singularity, discontinuity within the interval) one will probably gain from splitting up the interval at this point and calling the integrator on the subranges. If possible, an appropriate special-purpose integrator should be used, which is designed for handling the type of difficulty involved.
2 The occurrence of roundoff error is detected, which prevents the requested tolerance from being achieved. The error may be under-estimated.
3 Extremely bad integrand behavior occurs at some points of the integration interval.
4 The algorithm does not converge. Roundoff error is detected in the extrapolation table. It is presumed that the requested tolerance cannot be obtained.
5 The algorithm does not converge. Roundoff error is detected in the extrapolation table. It is presumed that the requested tolerance cannot be achieved, and that the returned result is the best which can be obtained.
6 The integral is probably divergent, or slowly convergent. It must be noted that divergence can occur with any other status value.

See Also

Quadrature Class | Imsl.Math Namespace