public void GetInverseSingularTest()
        {
            ComplexFloatMatrix   a   = new ComplexFloatMatrix(3, 3);
            ComplexFloatLUDecomp dlu = new ComplexFloatLUDecomp(a);

            dlu.GetInverse();
        }
        public void GetInverseTest()
        {
            ComplexFloatMatrix inv = lu.GetInverse();

            Assert.AreEqual(inv[0, 0].Real, -0.188378, TOLERENCE);
            Assert.AreEqual(inv[0, 1].Real, 0.009115, TOLERENCE);
            Assert.AreEqual(inv[0, 2].Real, 0.124572, TOLERENCE);
            Assert.AreEqual(inv[1, 0].Real, -0.063805, TOLERENCE);
            Assert.AreEqual(inv[1, 1].Real, -0.142074, TOLERENCE);
            Assert.AreEqual(inv[1, 2].Real, 0.058323, TOLERENCE);
            Assert.AreEqual(inv[2, 0].Real, 0.182301, TOLERENCE);
            Assert.AreEqual(inv[2, 1].Real, 0.120211, TOLERENCE);
            Assert.AreEqual(inv[2, 2].Real, -0.02378, TOLERENCE);
            Assert.AreEqual(inv[0, 0].Imag, -0.036844, TOLERENCE);
            Assert.AreEqual(inv[0, 1].Imag, 0.001783, TOLERENCE);
            Assert.AreEqual(inv[0, 2].Imag, 0.024364, TOLERENCE);
            Assert.AreEqual(inv[1, 0].Imag, -0.012479, TOLERENCE);
            Assert.AreEqual(inv[1, 1].Imag, 0.000604, TOLERENCE);
            Assert.AreEqual(inv[1, 2].Imag, 0.008252, TOLERENCE);
            Assert.AreEqual(inv[2, 0].Imag, 0.035655, TOLERENCE);
            Assert.AreEqual(inv[2, 1].Imag, -0.001725, TOLERENCE);
            Assert.AreEqual(inv[2, 2].Imag, -0.023578, TOLERENCE);
        }
 public void GetInverseSingularTest()
 {
   ComplexFloatMatrix a = new ComplexFloatMatrix(3,3);
   ComplexFloatLUDecomp dlu = new ComplexFloatLUDecomp(a);
   dlu.GetInverse();
 }