Пример #1
0
 public void TestEvaluate()
 {
     var fn = new InverseLinkFunction();
     double[] x = { 2 };
     double y = fn.Evaluate(x);
     Assert.AreEqual(-0.5, y, AIFH.DefaultPrecision);
 }
Пример #2
0
 public void TestException()
 {
     var fn = new InverseLinkFunction();
     double[] x = { 1, 2 };
     fn.Evaluate(x);
 }