public class GF2nONBField extends GF2nField
GF2nField,
GF2nONBElementfieldPolynomial, fields, matrices, mDegree| Constructor and Description |
|---|
GF2nONBField(int deg)
constructs an instance of the finite field with 2deg
elements and characteristic 2.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
computeCOBMatrix(GF2nField B1)
Computes the change-of-basis matrix for basis conversion according to
1363.
|
protected void |
computeFieldPolynomial()
Computes the field polynomial for a ONB according to IEEE 1363 A.7.2
(p110f).
|
protected GF2nElement |
getRandomRoot(GF2Polynomial polynomial)
Computes a random root of the given polynomial.
|
convert, equals, getDegree, getFieldPolynomial, hashCode, invertMatrixpublic GF2nONBField(int deg)
throws java.lang.RuntimeException
deg - -
the extention degree of this fieldNoSuchBasisException - if an ONB-implementation other than type 1 or type 2 is
requested.java.lang.RuntimeExceptionprotected GF2nElement getRandomRoot(GF2Polynomial polynomial)
getRandomRoot in class GF2nFieldpolynomial - a polynomialprotected void computeCOBMatrix(GF2nField B1)
computeCOBMatrix in class GF2nFieldB1 - the GF2nField to convert toprotected void computeFieldPolynomial()
computeFieldPolynomial in class GF2nField