Hierarchy

  • GaloisField

Index

Constructors

constructor

  • new GaloisField(primitive: number, size: number, genBase: number): GaloisField
  • Parameters

    • primitive: number
    • size: number
    • genBase: number

    Returns GaloisField

Properties

Static Aztec_Data_10

Aztec_Data_10: GaloisField = new GaloisField(0x409, 1024, 1)

Static Aztec_Data_12

Aztec_Data_12: GaloisField = new GaloisField(0x1069, 4096, 1)

Static Aztec_Data_6

Aztec_Data_6: GaloisField = new GaloisField(0x43, 64, 1)

Static Aztec_Data_8

Aztec_Data_8: GaloisField = new GaloisField(0x012D, 256, 1)

Static Aztec_Param

Aztec_Param: GaloisField = new GaloisField(0x13, 16, 1)

Static DataMatrix_256

DataMatrix_256: GaloisField = GaloisField.Aztec_Data_8

Static Maxicode_64

Maxicode_64: GaloisField = GaloisField.Aztec_Data_6

Static QRCode_256

QRCode_256: GaloisField = new GaloisField(0x011D, 256, 0)

Accessors

getGeneratorBase

  • get getGeneratorBase(): number
  • Returns number

getOne

getZero

Methods

buildMonomial

exp

  • exp(a: number): number
  • Parameters

    • a: number

    Returns number

inverse

  • inverse(a: number): number
  • Parameters

    • a: number

    Returns number

multiply

  • multiply(a: number, b: number): number
  • Parameters

    • a: number
    • b: number

    Returns number

Static addOrSubtract

  • addOrSubtract(a: number, b: number): number
  • Parameters

    • a: number
    • b: number

    Returns number

Generated using TypeDoc