[][src]Trait algebraics::traits::GCD

pub trait GCD<Rhs = Self> {
    type Output;
#[must_use]
    fn gcd_lcm(&self, rhs: &Rhs) -> GCDAndLCM<Self::Output>;

#[must_use]
    fn gcd(&self, rhs: &Rhs) -> Self::Output { ... }
#[must_use] fn lcm(&self, rhs: &Rhs) -> Self::Output { ... } }

Associated Types

type Output

Loading content...

Required methods

#[must_use] fn gcd_lcm(&self, rhs: &Rhs) -> GCDAndLCM<Self::Output>

Loading content...

Provided methods

#[must_use] fn gcd(&self, rhs: &Rhs) -> Self::Output

#[must_use] fn lcm(&self, rhs: &Rhs) -> Self::Output

Loading content...

Implementations on Foreign Types

impl GCD<u8> for u8[src]

type Output = u8

impl GCD<i8> for i8[src]

type Output = i8

impl GCD<u16> for u16[src]

type Output = u16

impl GCD<i16> for i16[src]

type Output = i16

impl GCD<u32> for u32[src]

type Output = u32

impl GCD<i32> for i32[src]

type Output = i32

impl GCD<u64> for u64[src]

type Output = u64

impl GCD<i64> for i64[src]

type Output = i64

impl GCD<u128> for u128[src]

type Output = u128

impl GCD<i128> for i128[src]

type Output = i128

impl GCD<usize> for usize[src]

type Output = usize

impl GCD<isize> for isize[src]

type Output = isize

impl GCD<BigUint> for BigUint[src]

type Output = BigUint

impl GCD<BigInt> for BigInt[src]

type Output = BigInt

impl<T: Integer + Clone + for<'a> Mul<&'a T, Output = T>> GCD<Ratio<T>> for Ratio<T>[src]

type Output = Self

Loading content...

Implementors

impl GCD<DivisorIsOne> for DivisorIsOne[src]

impl<T> GCD<Polynomial<T>> for Polynomial<T> where
    T: PolynomialCoefficient + PolynomialDivSupported + PolynomialReducingFactorSupported
[src]

type Output = Self

Loading content...