public ExtensionFieldElement(ExtensionField ExtField, Polynomial ElementValue) { this.Value = ElementValue; this.Field = ExtField; }
private void Form1_Load(object sender, EventArgs e) { GF5 = new FiniteField(5); GF56Primitive = new Polynomial(GF5, 2, 0, 1, 4, 1, 0, 1); ExtF = new ExtensionField(GF56Primitive); lblInfo.Text = "Current Field Info: " + ExtF.ToString(); }
public static ExtensionFieldElement One(ExtensionField F) { ExtensionFieldElement one = new ExtensionFieldElement(F, new Polynomial(F.DefiningPolynomial.Field, 1)); return(one); }
public static ExtensionFieldElement Zero(ExtensionField F) { ExtensionFieldElement zero = new ExtensionFieldElement(F, new Polynomial(F.DefiningPolynomial.Field, 0)); return(zero); }
public static ExtensionFieldElement Zero(ExtensionField F) { ExtensionFieldElement zero = new ExtensionFieldElement(F, new Polynomial(F.DefiningPolynomial.Field, 0)); return zero; }
public static ExtensionFieldElement One(ExtensionField F) { ExtensionFieldElement one = new ExtensionFieldElement(F, new Polynomial(F.DefiningPolynomial.Field, 1)); return one; }