algebra.ring
Type members
Classlikes
- Companion
- object
- Companion
- object
- Companion
- class
- Companion
- object
- Companion
- class
A Boolean ring is a ring whose multiplication is idempotent, that is
a⋅a = a
for all elements ''a''. This property also implies a+a = 0
for all ''a'', and a⋅b = b⋅a
(commutativity of multiplication).
A Boolean ring is a ring whose multiplication is idempotent, that is
a⋅a = a
for all elements ''a''. This property also implies a+a = 0
for all ''a'', and a⋅b = b⋅a
(commutativity of multiplication).
Every Boolean ring is equivalent to a Boolean algebra.
See algebra.lattice.BoolFromBoolRing
for details.
- Companion
- object
A Boolean rng is a rng whose multiplication is idempotent, that is
a⋅a = a
for all elements ''a''. This property also implies a+a = 0
for all ''a'', and a⋅b = b⋅a
(commutativity of multiplication).
A Boolean rng is a rng whose multiplication is idempotent, that is
a⋅a = a
for all elements ''a''. This property also implies a+a = 0
for all ''a'', and a⋅b = b⋅a
(commutativity of multiplication).
Every BoolRng
is equivalent to algebra.lattice.GenBool
.
See algebra.lattice.GenBoolFromBoolRng
for details.
- Companion
- object
- Companion
- class
CommutativeRig is a Rig that is commutative under multiplication.
CommutativeRig is a Rig that is commutative under multiplication.
- Companion
- object
- Companion
- class
CommutativeRing is a Ring that is commutative under multiplication.
CommutativeRing is a Ring that is commutative under multiplication.
- Companion
- object
CommutativeRng is a Rng that is commutative under multiplication.
CommutativeRng is a Rng that is commutative under multiplication.
- Companion
- object
- Companion
- class
CommutativeSemiring is a Semiring that is commutative under multiplication.
CommutativeSemiring is a Semiring that is commutative under multiplication.
- Companion
- object
- Companion
- class
- Companion
- object
- Companion
- object
- Companion
- class
- Companion
- object
- Companion
- class
- Companion
- object
- Companion
- class
- Companion
- object
- Companion
- class
Rig consists of:
Rig consists of:
- a commutative monoid for addition (+)
- a monoid for multiplication (*)
Alternately, a Rig can be thought of as a ring without multiplicative or additive inverses (or as a semiring with a multiplicative identity).
Mnemonic: "Rig is a Ring without 'N'egation."
- Companion
- object
- Companion
- class
Ring consists of:
Ring consists of:
- a commutative group for addition (+)
- a monoid for multiplication (*)
Additionally, multiplication must distribute over addition.
Ring implements some methods (for example fromInt) in terms of other more fundamental methods (zero, one and plus). Where possible, these methods should be overridden by more efficient implementations.
- Companion
- object
Rng (pronounced "Rung") consists of:
Rng (pronounced "Rung") consists of:
- a commutative group for addition (+)
- a semigroup for multiplication (*)
Alternately, a Rng can be thought of as a ring without a multiplicative identity (or as a semiring with an additive inverse).
Mnemonic: "Rng is a Ring without multiplicative 'I'dentity."
- Companion
- object
- Companion
- class
Semiring consists of:
Semiring consists of:
- a commutative monoid for addition (+)
- a semigroup for multiplication (*)
Alternately, a Semiring can be thought of as a ring without a multiplicative identity or an additive inverse.
A Semiring with an additive inverse (-) is a Rng. A Semiring with a multiplicative identity (1) is a Rig. A Semiring with both of those is a Ring.
- Companion
- object
- Companion
- class