Package-level declarations

Types

Link copied to clipboard
class GenericGF(primitive: Int, val size: Int, val generatorBase: Int)

This class contains utility methods for performing mathematical operations over the Galois Fields. Operations use a given primitive polynomial in calculations.

Link copied to clipboard
class GenericGFPoly(field: GenericGF, coefficients: IntArray)

Represents a polynomial whose coefficients are elements of a GF. Instances of this class are immutable.

Link copied to clipboard

Implements Reed-Solomon decoding, as the name implies.

Link copied to clipboard

Implements Reed-Solomon encoding, as the name implies.

Link copied to clipboard

Thrown when an exception occurs during Reed-Solomon decoding, such as when there are too many errors to correct.