Interface DivisionRing<E>
- All Superinterfaces:
AbelianGroup<E>, AbelianMonoid<E>, Group<E>, Magma<E>, Monoid<E>, Ring<E>, Semiring<E>, Set<E>
A division ring (also known as a skew field) is a ring in which every
non-zero
element has a multiplicative inverse.
Division rings satisfy all field axioms except for commutative multiplication.
Mathematical Definition
A division ring (D, +, ×) is a ring with unity (1 ≠0) such that:
- For every a ∈ D \ {0}, there exists a⻹ ∈ D such that a × a⻹ = a⻹ × a = 1
Examples
- â„ - Quaternions (non-commutative)
- Field - Commutative division ring
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Method Summary
Methods inherited from interface AbelianGroup
isCommutative, negate, subtractMethods inherited from interface AbelianMonoid
add, identity, isCommutative, zeroMethods inherited from interface Monoid
isAssociativeMethods inherited from interface Semiring
isMultiplicationCommutative, multiply, one, powMethods inherited from interface Set
contains, description, isEmpty
-
Method Details
-
inverse
Returns the multiplicative inverse of a non-zero element.For element a ≠0, returns a⻹ such that: a × a⻹ = a⻹ × a = 1
- Specified by:
inversein interfaceGroup<E>- Parameters:
element- the element to invert (must be non-zero)- Returns:
- the multiplicative inverse
- Throws:
ArithmeticException- if element is zero
-
divide
Returns the quotient of two elements (division).Defined as: a ÷ b = a × b⻹
Note: In non-commutative rings, this is typically defined as right division. For left division (b⻹ × a), explicit multiplication by inverse is recommended.
- Parameters:
dividend- the dividend (numerator)divisor- the divisor (denominator, must be non-zero)- Returns:
- dividend ÷ divisor
- Throws:
ArithmeticException- if divisor is zero
-