Constructor and Description |
---|
GaloisFieldMathMode(int omega) |
Modifier and Type | Method and Description |
---|---|
int |
add(int c1,
int c2)
Add c1 with c2.
|
int |
div(int c1,
int divisor)
Divides c1 by c2 (without remainder).
|
static GaloisFieldMathMode |
getGaloisFieldMathMode(int omega)
Gets a singleton math mode for the specified omega.
|
int[] |
getGfIlog() |
int[] |
getGfLog() |
String |
getTableDump()
dumps transformation table of GF-Field.
|
int |
mul(int c1,
int c2)
Multiplys c1 ith c2.
|
int |
sub(int c1,
int c2)
Subtract c2 from c1.
|
String |
toString()
get the identitfication representation.
|
public static GaloisFieldMathMode getGaloisFieldMathMode(int omega)
Gets a singleton math mode for the specified omega.
omega
- the number of bits to be usedpublic int mul(int c1, int c2)
MathMode
Multiplys c1 ith c2.
public int div(int c1, int divisor)
MathMode
Divides c1 by c2 (without remainder).
public int add(int c1, int c2)
MathMode
Add c1 with c2.
public int sub(int c1, int c2)
MathMode
Subtract c2 from c1.
public int[] getGfLog()
public int[] getGfIlog()
public String toString()
MathMode
get the identitfication representation.
public String getTableDump()
dumps transformation table of GF-Field.
Copyright © 2023. All rights reserved.