Example #1
0
        public void Test03_Matrix()
        {
            TestContext.WriteLine($"ENTER: {nameof(Test03_Matrix)}");

            Assert.IsTrue(step02_passed, "IsTrue(step02_passed)");
            Assert.IsNotNull(gnfs, "IsNotNull(gnfs)");

            MatrixSolve.GaussianSolve(cancelToken, gnfs);

            Assert.IsTrue(gnfs.CurrentRelationsProgress.FreeRelations.Any(), "IsTrue(gnfs.CurrentRelationsProgress.FreeRelations.Any())");

            step03_passed = true;

            TestContext.WriteLine($"{nameof(Test03_Matrix)} passed?: {step03_passed}");
            TestContext.WriteLine($"LEAVE: {nameof(Test03_Matrix)}");
        }
Example #2
0
 public static GNFS MatrixSolveGaussian(CancellationToken cancelToken, GNFS gnfs)
 {
     MatrixSolve.GaussianSolve(cancelToken, gnfs);
     return(gnfs);
 }