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