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