Example #1
0
        public void TestException()
        {
            var fn = new IdentityLinkFunction();

            double[] x = { 1, 2 };
            fn.Evaluate(x);
        }
Example #2
0
        public void TestEvaluate()
        {
            var fn = new IdentityLinkFunction();

            double[] x = { 2 };
            double   y = fn.Evaluate(x);

            Assert.AreEqual(2, y, AIFH.DefaultPrecision);
        }