[][src]Struct buchberger::Monomial

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

Methods

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

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

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

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

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

impl<'lt, F: Field> Monomial<'lt, F>[src]

pub fn variable_count(&self) -> usize[src]

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

Trait Implementations

impl<'lt, F: Field> Ord for Monomial<'lt, F>[src]

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl<'lt, F: Field> PartialOrd<Monomial<'lt, F>> for Monomial<'lt, F>[src]

#[must_use] fn lt(&self, other: &Rhs) -> bool1.0.0[src]

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

#[must_use] fn le(&self, other: &Rhs) -> bool1.0.0[src]

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

#[must_use] fn gt(&self, other: &Rhs) -> bool1.0.0[src]

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

#[must_use] fn ge(&self, other: &Rhs) -> bool1.0.0[src]

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

impl<'lt, F: Clone + Field> Clone for Monomial<'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<Monomial<'lt, F>> for Monomial<'lt, F>[src]

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

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

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

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

type Output = Self

The resulting type after applying the * operator.

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

type Output = Monomial<'lt, F>

The resulting type after applying the * operator.

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

type Output = Self

The resulting type after applying the / operator.

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

type Output = Monomial<'lt, F>

The resulting type after applying the / operator.

impl<'lt, '_, F: Field + Debug + Display> MulAssign<&'_ Monomial<'lt, F>> for Monomial<'lt, F>[src]

impl<'lt, '_, F: Field + Debug + Display> DivAssign<&'_ Monomial<'lt, F>> for Monomial<'lt, F>[src]

Auto Trait Implementations

impl<'lt, F> Unpin for Monomial<'lt, F>

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

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

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

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

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]