Struct integral_exponential_polynomial::Polynomial
[−]
[src]
pub struct Polynomial { /* fields omitted */ }
Methods
impl Polynomial
[src]
fn one_term(coeff: BigInt, base: BigUint) -> Polynomial
Returns a new polynomial with at most one term. When either coefficient or base is zero, an empty polynomial is returned.
Arguments
coeff
- ABigInt
represents the coefficient of the termbase
- ABigUint
represents the base of the component function ```
fn apply(&self, value: usize) -> BigInt
Trait Implementations
impl Eq for Polynomial
[src]
impl PartialEq for Polynomial
[src]
fn eq(&self, __arg_0: &Polynomial) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Polynomial) -> bool
This method tests for !=
.
impl Clone for Polynomial
[src]
fn clone(&self) -> Polynomial
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Polynomial
[src]
impl Add for Polynomial
[src]
type Output = Polynomial
The resulting type after applying the +
operator
fn add(self, other: Polynomial) -> Polynomial
The method for the +
operator
impl Sub for Polynomial
[src]
type Output = Polynomial
The resulting type after applying the -
operator
fn sub(self, other: Polynomial) -> Polynomial
The method for the -
operator
impl AddAssign for Polynomial
[src]
fn add_assign(&mut self, other: Polynomial)
The method for the +=
operator
impl SubAssign for Polynomial
[src]
fn sub_assign(&mut self, other: Polynomial)
The method for the -=
operator