Enum xxcalc::polynomial::PolynomialError [] [src]

pub enum PolynomialError {
    NonConstantError,
    DivisionByZero,
    DividentDegreeMismatch,
}

Error resulting from operations on polynomials

Variants

Tried to convert non-constant polynomial to float

Divided non-constant polynomial by zero

Divident is of smaller degree than divisor

Trait Implementations

impl Debug for PolynomialError
[src]

Formats the value using the given formatter.

impl PartialEq for PolynomialError
[src]

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

This method tests for !=.