public void WideCondition() { DoubleMatrix a = new DoubleMatrix(2,3); a.GetConditionNumber(); }
public void LongCondition() { DoubleMatrix a = new DoubleMatrix(3,2); a.GetConditionNumber(); }
public void Condition() { DoubleMatrix a = new DoubleMatrix(2); a[0,0] = 2; a[0,1] = 4; a[1,0] = 3; a[1,1] = 1; Assert.AreEqual(a.GetConditionNumber(),2.618,TOLERENCE); }