Class BigElements<E>
java.lang.Object
dk.jonaslindstrom.ruffini.integers.structures.limbs.BigElements<E>
- All Implemented Interfaces:
AdditiveGroup<BigElement<E>>
,CommutativeMonoid<BigElement<E>>
,Monoid<BigElement<E>>
,Ring<BigElement<E>>
,Semigroup<BigElement<E>>
,SemiRing<BigElement<E>>
,Set<BigElement<E>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd
(BigElement<E> a, BigElement<E> b) Return the result of a+b.boolean
equals
(BigElement<E> a, BigElement<E> b) Returnstrue
if and only if a = b as elements of this set.identity()
Return the identity element of this monoid.multiply
(BigElement<E> a, BigElement<E> b) Return the result of the product ab in this group.negate
(BigElement<E> a) Return -a.zero()
Return the zero element.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dk.jonaslindstrom.ruffini.common.abstractions.AdditiveGroup
doubling, isZero, scale, scale, subtract, sum
Methods inherited from interface dk.jonaslindstrom.ruffini.common.abstractions.CommutativeMonoid
add, add
Methods inherited from interface dk.jonaslindstrom.ruffini.common.abstractions.Monoid
isIdentity, power
Methods inherited from interface dk.jonaslindstrom.ruffini.common.abstractions.Semigroup
multiply, multiply
-
Constructor Details
-
BigElements
-
-
Method Details
-
negate
Description copied from interface:AdditiveGroup
Return -a.- Specified by:
negate
in interfaceAdditiveGroup<E>
-
add
Description copied from interface:CommutativeMonoid
Return the result of a+b.- Specified by:
add
in interfaceCommutativeMonoid<E>
-
zero
Description copied from interface:CommutativeMonoid
Return the zero element.- Specified by:
zero
in interfaceCommutativeMonoid<E>
-
identity
Description copied from interface:Monoid
Return the identity element of this monoid. -
multiply
Description copied from interface:Semigroup
Return the result of the product ab in this group. -
equals
Description copied from interface:Set
Returnstrue
if and only if a = b as elements of this set.
-