[][src]Enum gkquad::RuntimeError

#[non_exhaustive]
pub enum RuntimeError {
    InsufficientIteration,
    RoundoffError,
    SubrangeTooSmall,
    Divergent,
    NanValueEncountered,
}

calculation error information occured during integration.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InsufficientIteration

The maximum number of subdivisions has been achieved. If increasing the limit results in no further improvement, check the integrand in order to determine the difficulties. If the function contains the singular points in the range, you should specify the singular points by hand, or transform the function to eliminate the singular points.

RoundoffError

Cannot reach tolerance because of roundoff error, which prevents the given tolerance from being achieved. It is assumed that the requested tolerance cannot be achieved, and that the returned result is the bst which can be obtained.

SubrangeTooSmall

Subrange was too small to calculate the integral. Maybe you should specify the singular points, or transform the function to eliminate the singular points.

Divergent

Integral is divergent, or slowly convergent. Delta (estimation of absolute error) may be underestimated.

NanValueEncountered

Integrand has returned a NAN value, so the algorithm cannot continue the calculation.

Trait Implementations

impl Clone for RuntimeError[src]

impl Copy for RuntimeError[src]

impl Debug for RuntimeError[src]

impl Display for RuntimeError[src]

impl Eq for RuntimeError[src]

impl Error for RuntimeError[src]

impl Hash for RuntimeError[src]

impl PartialEq<RuntimeError> for RuntimeError[src]

impl StructuralEq for RuntimeError[src]

impl StructuralPartialEq for RuntimeError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.