Enum rgsl::Value [] [src]

pub enum Value {
    Success,
    Failure,
    Continue,
    Dom,
    Range,
    Fault,
    Inval,
    Failed,
    Factor,
    Sanity,
    NoMem,
    BadFunc,
    RunAway,
    MaxIter,
    ZeroDiv,
    BadTol,
    Tol,
    UndrFlw,
    OvrFlw,
    Loss,
    Round,
    BadLen,
    NotSqr,
    Sing,
    Diverge,
    Unsup,
    Unimpl,
    Cache,
    Table,
    NoProg,
    NoProgJ,
    TolF,
    TolX,
    TolG,
    EOF,
}

Variants

SuccessFailureContinue

iteration has not converged

Dom

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

Range

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

Fault

invalid pointer

Inval

invalid argument supplied by user

Failed

generic failure

Factor

factorization failed

Sanity

sanity check failed - shouldn't happen

NoMem

malloc failed

BadFunc

problem with user-supplied function

RunAway

iterative process is out of control

MaxIter

exceeded max number of iterations

ZeroDiv

tried to divide by zero

BadTol

user specified an invalid tolerance

Tol

failed to reach the specified tolerance

UndrFlw

underflow

OvrFlw

overflow

Loss

loss of accuracy

Round

failed because of roundoff error

BadLen

matrix, vector lengths are not conformant

NotSqr

matrix not square

Sing

apparent singularity detected

Diverge

integral or series is divergent

Unsup

requested feature is not supported by the hardware

Unimpl

requested feature not (yet) implemented

Cache

cache limit exceeded

Table

table limit exceeded

NoProg

iteration is not making progress towards solution

NoProgJ

jacobian evaluations are not improving the solution

TolF

cannot reach the specified tolerance in F

TolX

cannot reach the specified tolerance in X

TolG

cannot reach the specified tolerance in gradient

EOF

cannot reach the specified tolerance in gradient

Trait Implementations

impl Copy for Value
[src]

impl Debug for Value
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl PartialOrd for Value
[src]

fn partial_cmp(&self, __arg_0: &Value) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more

fn lt(&self, other: &Rhs) -> bool
1.0.0

This method tests less than (for self and other) and is used by the < operator. Read more

fn le(&self, other: &Rhs) -> bool
1.0.0

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn gt(&self, other: &Rhs) -> bool
1.0.0

This method tests greater than (for self and other) and is used by the > operator. Read more

fn ge(&self, other: &Rhs) -> bool
1.0.0

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl PartialEq for Value
[src]

fn eq(&self, __arg_0: &Value) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Clone for Value
[src]

fn clone(&self) -> Value

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more