public class RingUnitGroupImpl.RingUnitGroupElementImpl extends RingGroupImpl.RingGroupElementImpl
Also, note that you could potentially wrap non-units in a RingUniGroupElement. This is not checked (but obviously discouraged). The invert operation will fail.
element| Constructor and Description |
|---|
RingUnitGroupElementImpl(RingElement e) |
| Modifier and Type | Method and Description |
|---|---|
RingUnitGroupImpl |
getStructure()
Retrieves the group this element belongs to.
|
RingUnitGroupImpl.RingUnitGroupElementImpl |
inv()
Calculates the inverse of this group element.
|
RingUnitGroupImpl.RingUnitGroupElementImpl |
op(GroupElementImpl e)
Calculates the result of this op e.
|
RingUnitGroupImpl.RingUnitGroupElementImpl |
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 RingUnitGroupElementImpl(RingElement e)
public RingUnitGroupImpl.RingUnitGroupElementImpl op(GroupElementImpl e)
GroupElementImple - right hand side of the operationpublic RingUnitGroupImpl.RingUnitGroupElementImpl pow(java.math.BigInteger exponent)
GroupElementImplpublic RingUnitGroupImpl getStructure()
GroupElementImplpublic RingUnitGroupImpl.RingUnitGroupElementImpl 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.