Enum rgsl::Value [−][src]
#[repr(C)]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, }
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
Methods
impl Value
[src]
impl Value
Trait Implementations
impl From<Value> for GSLResult<()>
[src]
impl From<Value> for GSLResult<()>
impl Clone for Value
[src]
impl Clone for Value
fn clone(&self) -> Value
[src]
fn clone(&self) -> Value
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for Value
[src]
impl PartialEq for Value
fn eq(&self, other: &Value) -> bool
[src]
fn eq(&self, other: &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[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl PartialOrd for Value
[src]
impl PartialOrd for Value
fn partial_cmp(&self, other: &Value) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &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[src]
fn lt(&self, other: &Rhs) -> bool
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[src]
fn le(&self, other: &Rhs) -> bool
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[src]
fn gt(&self, other: &Rhs) -> bool
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[src]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Debug for Value
[src]
impl Debug for Value
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for Value
[src]
impl Copy for Value