public final class GenericGF
extends java.lang.Object
This class contains utility methods for performing mathematical operations over the Galois Fields. Operations use a given primitive polynomial in calculations.
Throughout this package, elements of the GF are represented as an int
for convenience and speed (but at the cost of memory).
Modifier and Type | Field and Description |
---|---|
static GenericGF |
AZTEC_DATA_10 |
static GenericGF |
AZTEC_DATA_12 |
static GenericGF |
AZTEC_DATA_6 |
static GenericGF |
AZTEC_DATA_8 |
static GenericGF |
AZTEC_PARAM |
static GenericGF |
DATA_MATRIX_FIELD_256 |
static GenericGF |
MAXICODE_FIELD_64 |
static GenericGF |
QR_CODE_FIELD_256 |
Constructor and Description |
---|
GenericGF(int primitive,
int size)
Create a representation of GF(size) using the given primitive polynomial.
|
Modifier and Type | Method and Description |
---|---|
int |
getSize() |
public static final GenericGF AZTEC_DATA_12
public static final GenericGF AZTEC_DATA_10
public static final GenericGF AZTEC_DATA_6
public static final GenericGF AZTEC_PARAM
public static final GenericGF QR_CODE_FIELD_256
public static final GenericGF DATA_MATRIX_FIELD_256
public static final GenericGF AZTEC_DATA_8
public static final GenericGF MAXICODE_FIELD_64
public GenericGF(int primitive, int size)
primitive
- irreducible polynomial whose coefficients are represented by
the bits of an int, where the least-significant bit represents the constant
coefficient"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"