예제 #1
0
        T Interface <T>(Num <T> NI)
        {
            var y = NI.FromInteger(0);
            var c = NI.FromInteger(666);

            for (int i = 0; i < n; i++)
            {
                var x = NI.FromInteger(i);
                y = NI.Plus(NI.Plus(NI.Mult(x, x), x), c);
            }
            return(y);
        }