public void WideCondition() { ComplexDoubleMatrix a = new ComplexDoubleMatrix(2, 3); a.GetConditionNumber(); }
public void LongCondition() { ComplexDoubleMatrix a = new ComplexDoubleMatrix(3, 2); a.GetConditionNumber(); }
public void Condition() { ComplexDoubleMatrix a = new ComplexDoubleMatrix(2); a[0, 0] = new Complex(1.1, 1.1); a[0, 1] = new Complex(2.2, -2.2); a[1, 0] = new Complex(3.3, 3.3); a[1, 1] = new Complex(4.4, -4.4); Assert.AreEqual(a.GetConditionNumber(), 14.933, TOLERENCE); }