The set of the ring
The additive operation of the ring
The multiplicative operation of the ring
Optional
addIdentity: TThe additive identity element of the ring (optional if the set is Z, Q, R, C, or M)
Optional
mulIdentity: TThe multiplicative identity element of the ring (optional if the set is Z, Q, R, C, or M)
Optional
addInverter: (a: T) => TThe function to calculate the additive inverse of an element of the ring (optional if the set is Z, Q, R, C, or M)
Defines an algebraic structure known as a ring.