예제 #1
0
		public void WideCondition()
		{
			FloatMatrix a = new FloatMatrix(2, 3);
			a.GetConditionNumber();
		}
예제 #2
0
		public void LongCondition()
		{
			FloatMatrix a = new FloatMatrix(3, 2);
			a.GetConditionNumber();
		}
예제 #3
0
		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);
		}