[][src]Struct buchberger::Polynomial

pub struct Polynomial<'lt, F: Field> { /* fields omitted */ }

Methods

impl<'lt, F: Field + Debug + Display> Polynomial<'lt, F>[src]

pub fn new(
    poly_ring: &'lt PolyRing<F>,
    terms: Vec<(F, Monomial<'lt, F>)>
) -> Polynomial<'lt, F>
[src]

pub fn is_zero(&self) -> bool[src]

pub fn is_one(&self) -> bool[src]

pub fn lm(&self) -> Monomial<'lt, F>[src]

pub fn lt(&self) -> Self[src]

pub fn lc(&self) -> F[src]

pub fn s_polynomial(&self, other: &Self) -> Self[src]

Trait Implementations

impl<'lt, F: Clone + Field> Clone for Polynomial<'lt, F>[src]

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

Performs copy-assignment from source. Read more

impl<'lt, F: PartialEq + Field> PartialEq<Polynomial<'lt, F>> for Polynomial<'lt, F>[src]

impl<'lt, F: Eq + Field> Eq for Polynomial<'lt, F>[src]

impl<'lt, F: Field + Debug> Debug for Polynomial<'lt, F>[src]

impl<'lt, F: Field + Display> Display for Polynomial<'lt, F>[src]

impl<'lt, F: Field + Debug + Display> Add<Polynomial<'lt, F>> for Polynomial<'lt, F>[src]

type Output = Self

The resulting type after applying the + operator.

impl<'lt, F: Field + Debug + Display> Add<F> for Polynomial<'lt, F>[src]

type Output = Self

The resulting type after applying the + operator.

impl<'lt, F: Field + Debug + Display> Sub<Polynomial<'lt, F>> for Polynomial<'lt, F>[src]

type Output = Self

The resulting type after applying the - operator.

impl<'lt, F: Field + Debug + Display> Sub<F> for Polynomial<'lt, F>[src]

type Output = Self

The resulting type after applying the - operator.

impl<'lt, F: Field + Debug + Display> Mul<Polynomial<'lt, F>> for Polynomial<'lt, F>[src]

type Output = Self

The resulting type after applying the * operator.

impl<'lt, F: Field + Debug + Display> Mul<F> for Polynomial<'lt, F>[src]

type Output = Self

The resulting type after applying the * operator.

impl<'lt, '_, F: Field + Debug + Display> Div<&'_ Vec<Polynomial<'lt, F>>> for Polynomial<'lt, F>[src]

type Output = Self

The resulting type after applying the / operator.

impl<'lt, F: Field + Debug + Display> Div<F> for Polynomial<'lt, F>[src]

type Output = Self

The resulting type after applying the / operator.

impl<'lt, F: Field + Debug + Display> Neg for Polynomial<'lt, F>[src]

type Output = Self

The resulting type after applying the - operator.

Auto Trait Implementations

impl<'lt, F> Unpin for Polynomial<'lt, F> where
    F: Unpin

impl<'lt, F> Send for Polynomial<'lt, F> where
    F: Send + Sync

impl<'lt, F> Sync for Polynomial<'lt, F> where
    F: Sync

impl<'lt, F> RefUnwindSafe for Polynomial<'lt, F> where
    F: RefUnwindSafe

impl<'lt, F> UnwindSafe for Polynomial<'lt, F> where
    F: RefUnwindSafe + UnwindSafe

Blanket Implementations

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[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.

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

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

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