Constructors
constructor
- new GaloisField(primitive: number, size: number, genBase: number): GaloisField
-
Parameters
-
primitive: number
-
size: number
-
genBase: number
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 QRCode_256
QRCode_
256: GaloisField = new GaloisField(0x011D, 256, 0)
Accessors
getGeneratorBase
- get getGeneratorBase(): number
Methods
buildMonomial
-
Parameters
-
degree: number
-
coefficient: number
exp
-
Parameters
Returns number
inverse
- inverse(a: number): number
-
Parameters
Returns number
multiply
- multiply(a: number, b: number): number
-
Parameters
Returns number
Static addOrSubtract
- addOrSubtract(a: number, b: number): number
-
Parameters
Returns number