Class GaloisField
Inheritance
System.Object
GaloisField
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Azos.dll
Syntax
Constructors
GaloisField(Int32, Int32, Int32)
Declaration
public GaloisField(int primitive, int size, int generatorBase)
Parameters
Type |
Name |
Description |
System.Int32 |
primitive |
|
System.Int32 |
size |
|
System.Int32 |
generatorBase |
|
Fields
QRCODE_256
Declaration
public static readonly GaloisField QRCODE_256
Field Value
Properties
GeneratorBase
Declaration
public int GeneratorBase { get; }
Property Value
Type |
Description |
System.Int32 |
|
Polynomial0
Declaration
public GaloisPolynomial Polynomial0 { get; }
Property Value
Polynomial1
Declaration
public GaloisPolynomial Polynomial1 { get; }
Property Value
Size
Declaration
Property Value
Type |
Description |
System.Int32 |
|
Methods
Add(Int32, Int32)
Declaration
public static int Add(int a, int b)
Parameters
Type |
Name |
Description |
System.Int32 |
a |
|
System.Int32 |
b |
|
Returns
Type |
Description |
System.Int32 |
|
Exp(Int32)
Declaration
Parameters
Type |
Name |
Description |
System.Int32 |
a |
|
Returns
Type |
Description |
System.Int32 |
|
GenerateMonomial(Int32, Int32)
Declaration
public GaloisPolynomial GenerateMonomial(int degree, int coefficient)
Parameters
Type |
Name |
Description |
System.Int32 |
degree |
|
System.Int32 |
coefficient |
|
Returns
Inverse(Int32)
Declaration
public int Inverse(int a)
Parameters
Type |
Name |
Description |
System.Int32 |
a |
|
Returns
Type |
Description |
System.Int32 |
|
Log(Int32)
Declaration
Parameters
Type |
Name |
Description |
System.Int32 |
a |
|
Returns
Type |
Description |
System.Int32 |
|
Multiply(Int32, Int32)
Declaration
public int Multiply(int a, int b)
Parameters
Type |
Name |
Description |
System.Int32 |
a |
|
System.Int32 |
b |
|
Returns
Type |
Description |
System.Int32 |
|
Extension Methods