public class RingAdditiveGroupImpl.RingAdditiveGroupElementImpl extends RingGroupImpl.RingGroupElementImpl
Note that such an element is not equal (according to equals()) to its original ring element.
Use projectToRing() to interpret the element as a ring element again.
element| Constructor and Description |
|---|
RingAdditiveGroupElementImpl(RingElement e) |
| Modifier and Type | Method and Description |
|---|---|
RingAdditiveGroupImpl |
getStructure()
Retrieves the group this element belongs to.
|
RingAdditiveGroupImpl.RingAdditiveGroupElementImpl |
inv()
Calculates the inverse of this group element.
|
RingAdditiveGroupImpl.RingAdditiveGroupElementImpl |
op(GroupElementImpl e)
Calculates the result of this op e.
|
RingAdditiveGroupImpl.RingAdditiveGroupElementImpl |
pow(java.math.BigInteger exponent)
Calculates the result of applying the group operation k times.
|
ByteAccumulator |
updateAccumulator(ByteAccumulator accumulator)
Updates the ByteAccumulator with the unique byte representation of this object.
|
equals, getRepresentation, hashCode, projectToRing, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitisNeutralElement, squaregetUniqueByteRepresentationpublic RingAdditiveGroupElementImpl(RingElement e)
public RingAdditiveGroupImpl.RingAdditiveGroupElementImpl op(GroupElementImpl e)
GroupElementImple - right hand side of the operationpublic RingAdditiveGroupImpl.RingAdditiveGroupElementImpl pow(java.math.BigInteger exponent)
GroupElementImplpublic RingAdditiveGroupImpl getStructure()
GroupElementImplpublic RingAdditiveGroupImpl.RingAdditiveGroupElementImpl inv()
GroupElementImplx.op(this).equals(getStructure().getNeutralElement())public ByteAccumulator updateAccumulator(ByteAccumulator accumulator)
UniqueByteRepresentableThe input to the accumulators update function is an injective (with respect to a given domain) byte encoding of this object.
For many use-cases, the AnnotatedUbrUtil can be used to quickly implement this method.