public virtual bool Equals(F2mFieldElement other) { if (m == other.m && representation == other.representation && Arrays.AreEqual(ks, other.ks)) { return(x.Equals(other.x)); } return(false); }