Skip to content

EuclideanDomain

EuclideanDomain<T> = Ring<T> & object

Defined in: evidence.ts:30

Euclidean domain evidence for T — a ring that additionally supports division with remainder, which is what the Euclidean algorithm needs.

ℤ is a Euclidean domain but not a field, so gcd constrains on this rather than on Field.

degree(a): number

T

number

divmod(a, b): QuotientRemainder<T, T>

T

T

QuotientRemainder<T, T>

T

The carrier set of the domain.