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.booleanequals(BigElement<E> a, BigElement<E> b) Returnstrueif 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, waitMethods inherited from interface dk.jonaslindstrom.ruffini.common.abstractions.AdditiveGroup
doubling, isZero, scale, scale, subtract, sumMethods inherited from interface dk.jonaslindstrom.ruffini.common.abstractions.CommutativeMonoid
add, addMethods inherited from interface dk.jonaslindstrom.ruffini.common.abstractions.Monoid
isIdentity, powerMethods inherited from interface dk.jonaslindstrom.ruffini.common.abstractions.Semigroup
multiply, multiply
-
Constructor Details
-
BigElements
-
-
Method Details
-
negate
Description copied from interface:AdditiveGroupReturn -a.- Specified by:
negatein interfaceAdditiveGroup<E>
-
add
Description copied from interface:CommutativeMonoidReturn the result of a+b.- Specified by:
addin interfaceCommutativeMonoid<E>
-
zero
Description copied from interface:CommutativeMonoidReturn the zero element.- Specified by:
zeroin interfaceCommutativeMonoid<E>
-
identity
Description copied from interface:MonoidReturn the identity element of this monoid. -
multiply
Description copied from interface:SemigroupReturn the result of the product ab in this group. -
equals
Description copied from interface:SetReturnstrueif and only if a = b as elements of this set.
-