EGCD

Trait EGCD 

Source
pub trait EGCD
where Self: Sized,
{ // Required method fn egcd(a: &Self, b: &Self) -> (Self, Self, Self); }
Expand description

Trait for the extended eucledian algorithm

Required Methods§

Source

fn egcd(a: &Self, b: &Self) -> (Self, Self, Self)

The extended eucledian algorithm

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl EGCD for Mpz

Source§

fn egcd(a: &Self, b: &Self) -> (Self, Self, Self)

Implementors§