The set of the ring
The additive operation of the ring
The multiplicative operation of the ring
OptionaladdIdentity: TThe additive identity element of the ring (optional if the set is Z, Q, R, C, or M)
OptionalmulIdentity: TThe multiplicative identity element of the ring (optional if the set is Z, Q, R, C, or M)
OptionaladdInverter: (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.