Enum rgsl::Value[][src]

pub enum Value {
    Success,
    Failure,
    Continue,
    Domain,
    Range,
    Fault,
    Invalid,
    Failed,
    Factorization,
    Sanity,
    NoMemory,
    BadFunction,
    RunAway,
    MaxIteration,
    ZeroDiv,
    BadTolerance,
    Tolerance,
    UnderFlow,
    OverFlow,
    Loss,
    Round,
    BadLength,
    NotSquare,
    Singularity,
    Diverge,
    Unsupported,
    Unimplemented,
    Cache,
    Table,
    NoProgress,
    NoProgressJacobian,
    ToleranceF,
    ToleranceX,
    ToleranceG,
    EOF,
    Unknown(i32),
}

Variants

Success
Failure
Continue

iteration has not converged

Domain

input domain error, e.g sqrt(-1)

Range

output range error, e.g. exp(1e100)

Fault

invalid pointer

Invalid

invalid argument supplied by user

Failed

generic failure

Factorization

factorization failed

Sanity

sanity check failed - shouldn’t happen

NoMemory

malloc failed

BadFunction

problem with user-supplied function

RunAway

iterative process is out of control

MaxIteration

exceeded max number of iterations

ZeroDiv

tried to divide by zero

BadTolerance

user specified an invalid tolerance

Tolerance

failed to reach the specified tolerance

UnderFlow

underflow

OverFlow

overflow

Loss

loss of accuracy

Round

failed because of roundoff error

BadLength

matrix, vector lengths are not conformant

NotSquare

matrix not square

Singularity

apparent singularity detected

Diverge

integral or series is divergent

Unsupported

requested feature is not supported by the hardware

Unimplemented

requested feature not (yet) implemented

Cache

cache limit exceeded

Table

table limit exceeded

NoProgress

iteration is not making progress towards solution

NoProgressJacobian

jacobian evaluations are not improving the solution

ToleranceF

cannot reach the specified tolerance in F

ToleranceX

cannot reach the specified tolerance in X

ToleranceG

cannot reach the specified tolerance in gradient

EOF

cannot reach the specified tolerance in gradient

Unknown(i32)

Unknown value.

Implementations

impl Value[src]

pub fn is_success(self) -> bool[src]

Trait Implementations

impl Clone for Value[src]

impl Copy for Value[src]

impl Debug for Value[src]

impl PartialEq<Value> for Value[src]

impl PartialOrd<Value> for Value[src]

impl StructuralPartialEq for Value[src]

Auto Trait Implementations

impl RefUnwindSafe for Value

impl Send for Value

impl Sync for Value

impl Unpin for Value

impl UnwindSafe for Value

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, 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.