Skip to content

IField

Defined in: ring.ts:23

A field (F, +, ·, 0, 1) — a commutative ring in which every non-zero element is invertible. ℚ, ℝ and ℂ are fields; ℤ is not.

T extends IField<T>

The carrier set of the field.

add(other): T

Defined in: additive.ts:11

The additive operation a + b.

T

T

IRing.add


div(other): T

Defined in: ring.ts:28

Division a / b, equivalent to a.mul(b.inv()).

T

T


inv(): T

Defined in: ring.ts:25

The multiplicative inverse a⁻¹. Throws when a is zero.

T


mul(other): T

Defined in: multiplicative.ts:14

The operation a · b.

T

T

IRing.mul


neg(): T

Defined in: additive.ts:25

The additive inverse −a.

T

IRing.neg


sub(other): T

Defined in: additive.ts:28

Subtraction a − b, equivalent to a.add(b.neg()).

T

T

IRing.sub