Skip to content

checkEuclideanLaws

checkEuclideanLaws<T>(domain, samples): LawViolation<T>[]

Defined in: laws.ts:202

Checks the Euclidean division property: a = q · b + r with r strictly smaller than b under the degree function.

T

The carrier set.

EuclideanDomain<T>

Euclidean domain evidence for T.

readonly T[]

Values to substitute into the axioms.

LawViolation<T>[]

Every violation found, empty when the axioms hold.