Skip to content

checkFieldLaws

checkFieldLaws<T>(field, samples): LawViolation<T>[]

Defined in: laws.ts:88

Checks the field axioms: the ring axioms, multiplicative commutativity, and invertibility of every non-zero element.

T

The carrier set.

Field<T>

Field evidence for T.

readonly T[]

Values to substitute into the axioms.

LawViolation<T>[]

Every violation found, empty when the axioms hold.