[−][src]Struct buchberger::Polynomial
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]
poly_ring: &'lt PolyRing<F>,
terms: Vec<(F, Monomial<'lt, F>)>
) -> Polynomial<'lt, F>
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(&self) -> 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]
fn eq(&self, other: &Polynomial<'lt, F>) -> bool
[src]
fn ne(&self, other: &Polynomial<'lt, F>) -> bool
[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.
fn add(self, other: Self) -> Self
[src]
impl<'lt, F: Field + Debug + Display> Add<F> for Polynomial<'lt, F>
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: F) -> Self
[src]
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.
fn sub(self, other: Self) -> Self
[src]
impl<'lt, F: Field + Debug + Display> Sub<F> for Polynomial<'lt, F>
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: F) -> Self
[src]
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.
fn mul(self, other: Self) -> Self
[src]
impl<'lt, F: Field + Debug + Display> Mul<F> for Polynomial<'lt, F>
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: F) -> Self
[src]
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.
fn div(self, divs: &Vec<Self>) -> Self
[src]
impl<'lt, F: Field + Debug + Display> Div<F> for Polynomial<'lt, F>
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, other: F) -> Self
[src]
impl<'lt, F: Field + Debug + Display> Neg for Polynomial<'lt, F>
[src]
Auto Trait Implementations
impl<'lt, F> Unpin for Polynomial<'lt, F> where
F: Unpin,
F: Unpin,
impl<'lt, F> Send for Polynomial<'lt, F> where
F: Send + Sync,
F: Send + Sync,
impl<'lt, F> Sync for Polynomial<'lt, F> where
F: Sync,
F: Sync,
impl<'lt, F> RefUnwindSafe for Polynomial<'lt, F> where
F: RefUnwindSafe,
F: RefUnwindSafe,
impl<'lt, F> UnwindSafe for Polynomial<'lt, F> where
F: RefUnwindSafe + UnwindSafe,
F: RefUnwindSafe + UnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,