dsalgo 0.3.10

A package for Datastructures and Algorithms.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/// generalized greatest common divisor on commutative ring R.
/// gcd(a, b) might not be unique neither exist.
/// if R does not have Order property.

pub trait GCD {
    type T;

    fn gcd(
        _: Self::T,
        _: Self::T,
    ) -> Self::T;
}