Пример #1
0
        public void SobolRationalCodeTest()
        {
            var s = Subrandom.SobolR(13, 1, 1, 1, 3, 11);

            foreach (var item in s.Take(1000))
            {
                System.Diagnostics.Trace.WriteLine(item);
            }
        }
Пример #2
0
        public void SobolRationalTest()
        {
            var p = new PolyGF2(3, 1, 0);
            var m = new[] { 1, 3, 7 };

            foreach (var item in Subrandom.SobolR(p, m).Take(1000))
            {
                System.Diagnostics.Trace.WriteLine(item);
            }

            var g = new Generator("SobolRationalTest");

            Test(g, () => Subrandom.SobolR(p, m));
        }