Its this side thing I was working one, when I got the chance. Its not very good right
now, as its still in its developing stage. But its still ok, where I can show it of, lol.
Attached is an exe, that given a set of data points, it tries its best to return a POLYNOMIAL function that maps to those data points, and emphasis on polynomial!
For example here are some test runs :
<enter data points( '.' to end) > 1 2 3 .
<function : f(n) = n >
<f(n) evaluated from n = 1 to 20 : { 1,2,3,4,....19,20 }
Another example run :
<enter data points( '.' to end) > 2 4 6 8 10 .
<function : f(n) = 2n >
<f(n) evaluated from n = 1 to 20 : {2,4,6,8,10 ... 40 }
You get the idea. Again, its not very good. It can only do the simple things. And be nice .