public void PolyGF2Primitive() { foreach (var p in PolyGF2.GetAllPrimitive().Take(100)) { Trace.WriteLine(p); } }
public void SobolCoefficients() { Trace.WriteLine("s\ta\tP"); foreach (var p in PolyGF2.GetAllPrimitive().Take(100)) { var a = p.GetCode(); a ^= 1ul << p.Degree; a >>= 1; Trace.WriteLine($"{p.Degree}\t{a}\t{p}"); } }