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