[−][src]Trait algebraics::traits::GCD
Associated Types
type Output
Required methods
Loading content...Provided methods
#[must_use]
fn gcd(&self, rhs: &Rhs) -> Self::Output
#[must_use]
fn lcm(&self, rhs: &Rhs) -> Self::Output
Implementations on Foreign Types
impl GCD<u8> for u8
[src]
type Output = u8
fn gcd(&self, rhs: &u8) -> u8
[src]
fn lcm(&self, rhs: &u8) -> u8
[src]
fn gcd_lcm(&self, rhs: &u8) -> GCDAndLCM<u8>
[src]
impl GCD<i8> for i8
[src]
type Output = i8
fn gcd(&self, rhs: &i8) -> i8
[src]
fn lcm(&self, rhs: &i8) -> i8
[src]
fn gcd_lcm(&self, rhs: &i8) -> GCDAndLCM<i8>
[src]
impl GCD<u16> for u16
[src]
type Output = u16
fn gcd(&self, rhs: &u16) -> u16
[src]
fn lcm(&self, rhs: &u16) -> u16
[src]
fn gcd_lcm(&self, rhs: &u16) -> GCDAndLCM<u16>
[src]
impl GCD<i16> for i16
[src]
type Output = i16
fn gcd(&self, rhs: &i16) -> i16
[src]
fn lcm(&self, rhs: &i16) -> i16
[src]
fn gcd_lcm(&self, rhs: &i16) -> GCDAndLCM<i16>
[src]
impl GCD<u32> for u32
[src]
type Output = u32
fn gcd(&self, rhs: &u32) -> u32
[src]
fn lcm(&self, rhs: &u32) -> u32
[src]
fn gcd_lcm(&self, rhs: &u32) -> GCDAndLCM<u32>
[src]
impl GCD<i32> for i32
[src]
type Output = i32
fn gcd(&self, rhs: &i32) -> i32
[src]
fn lcm(&self, rhs: &i32) -> i32
[src]
fn gcd_lcm(&self, rhs: &i32) -> GCDAndLCM<i32>
[src]
impl GCD<u64> for u64
[src]
type Output = u64
fn gcd(&self, rhs: &u64) -> u64
[src]
fn lcm(&self, rhs: &u64) -> u64
[src]
fn gcd_lcm(&self, rhs: &u64) -> GCDAndLCM<u64>
[src]
impl GCD<i64> for i64
[src]
type Output = i64
fn gcd(&self, rhs: &i64) -> i64
[src]
fn lcm(&self, rhs: &i64) -> i64
[src]
fn gcd_lcm(&self, rhs: &i64) -> GCDAndLCM<i64>
[src]
impl GCD<u128> for u128
[src]
type Output = u128
fn gcd(&self, rhs: &u128) -> u128
[src]
fn lcm(&self, rhs: &u128) -> u128
[src]
fn gcd_lcm(&self, rhs: &u128) -> GCDAndLCM<u128>
[src]
impl GCD<i128> for i128
[src]
type Output = i128
fn gcd(&self, rhs: &i128) -> i128
[src]
fn lcm(&self, rhs: &i128) -> i128
[src]
fn gcd_lcm(&self, rhs: &i128) -> GCDAndLCM<i128>
[src]
impl GCD<usize> for usize
[src]
type Output = usize
fn gcd(&self, rhs: &usize) -> usize
[src]
fn lcm(&self, rhs: &usize) -> usize
[src]
fn gcd_lcm(&self, rhs: &usize) -> GCDAndLCM<usize>
[src]
impl GCD<isize> for isize
[src]
type Output = isize
fn gcd(&self, rhs: &isize) -> isize
[src]
fn lcm(&self, rhs: &isize) -> isize
[src]
fn gcd_lcm(&self, rhs: &isize) -> GCDAndLCM<isize>
[src]
impl GCD<BigUint> for BigUint
[src]
type Output = BigUint
fn gcd(&self, rhs: &BigUint) -> BigUint
[src]
fn lcm(&self, rhs: &BigUint) -> BigUint
[src]
fn gcd_lcm(&self, rhs: &BigUint) -> GCDAndLCM<BigUint>
[src]
impl GCD<BigInt> for BigInt
[src]
type Output = BigInt
fn gcd(&self, rhs: &BigInt) -> BigInt
[src]
fn lcm(&self, rhs: &BigInt) -> BigInt
[src]
fn gcd_lcm(&self, rhs: &BigInt) -> GCDAndLCM<BigInt>
[src]
impl<T: Integer + Clone + for<'a> Mul<&'a T, Output = T>> GCD<Ratio<T>> for Ratio<T>
[src]
Loading content...
Implementors
impl GCD<DivisorIsOne> for DivisorIsOne
[src]
type Output = DivisorIsOne
fn gcd_lcm(&self, _rhs: &DivisorIsOne) -> GCDAndLCM<DivisorIsOne>
[src]
impl<T> GCD<Polynomial<T>> for Polynomial<T> where
T: PolynomialCoefficient + PolynomialDivSupported + PolynomialReducingFactorSupported,
[src]
T: PolynomialCoefficient + PolynomialDivSupported + PolynomialReducingFactorSupported,