GF2nPolynomialElement, GF2nONBElement, GF2nONBField
| Modifier and Type | Field and Description |
|---|---|
| protected int | mDegree
holds the extension degree n of this element's corresponding field. |
| protected GF2nField | mField
holds a pointer to this element's corresponding field. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract void | |
| pack-priv abstract void | |
| public abstract Object | Returns: a copy of this GF2nElementRedeclares org. Overrides java. |
| public final GF2nElement | |
| public final GF2nField | |
| public abstract GF2nElement | |
| public abstract void | |
| public abstract GF2nElement | |
| public abstract GF2nElement | |
| public abstract GF2nElement | Returns: this1/2 (newly created)Compute the square root of this element and return the result in a new
|
| public abstract void | |
| public abstract void | |
| public final GFElement | Returns: this - minuend (newly created)the minuend minuend)Implements org. |
| public final void | subtractFromThis(GFElement
the minuend minuend)Implements org. |
| pack-priv abstract boolean | Returns: true if the indexed bit is setthe index of the bit to test index)Checks whether the indexed bit of the bit representation is set |
| public abstract boolean | Returns: true if the rightmost bit of this element is setReturns whether the rightmost bit of the bit representation is set. |
| public abstract int |
| mDegree | back to summary |
|---|---|
| protected int mDegree holds the extension degree n of this element's corresponding field. | |
| mField | back to summary |
|---|---|
| protected GF2nField mField holds a pointer to this element's corresponding field. | |
| GF2nElement | back to summary |
|---|---|
| public GF2nElement() | |
| assignOne | back to summary |
|---|---|
| pack-priv abstract void assignOne() Assigns the value 1 to this element. | |
| assignZero | back to summary |
|---|---|
| pack-priv abstract void assignZero() Assign the value 0 to this element. | |
| clone | back to summary |
|---|---|
| public abstract Object clone() Redeclares org. Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| convert | back to summary |
|---|---|
| public final GF2nElement convert(GF2nField basis) Performs a basis transformation of this element to the given GF2nField basis.
| |
| getField | back to summary |
|---|---|
| public final GF2nField getField() Returns the field of this element.
| |
| increase | back to summary |
|---|---|
| public abstract GF2nElement increase() Returns this element + 1.
| |
| increaseThis | back to summary |
|---|---|
| public abstract void increaseThis() Increases this element by one. | |
| solveQuadraticEquation | back to summary |
|---|---|
| public abstract GF2nElement solveQuadraticEquation() throws RuntimeException Solves a quadratic equation.
| |
| square | back to summary |
|---|---|
| public abstract GF2nElement square() Returns this element to the power of 2.
| |
| squareRoot | back to summary |
|---|---|
| public abstract GF2nElement squareRoot() Compute the square root of this element and return the result in a new
| |
| squareRootThis | back to summary |
|---|---|
| public abstract void squareRootThis() Compute the square root of this element. | |
| squareThis | back to summary |
|---|---|
| public abstract void squareThis() Squares this element. | |
| subtract | back to summary |
|---|---|
| public final GFElement subtract(GFElement minuend) Implements org. Compute the difference of this element and minuend. | |
| subtractFromThis | back to summary |
|---|---|
| public final void subtractFromThis(GFElement minuend) Implements org. Compute the difference of this element and minuend, overwriting this element.
| |
| testBit | back to summary |
|---|---|
| pack-priv abstract boolean testBit(int index) Checks whether the indexed bit of the bit representation is set
| |
| testRightmostBit | back to summary |
|---|---|
| public abstract boolean testRightmostBit() Returns whether the rightmost bit of the bit representation is set. This is needed for data conversion according to 1363.
| |
| trace | back to summary |
|---|---|
| public abstract int trace() Returns the trace of this element.
| |