I guess you can evaluate your functions at different values and get the coefficients by solving those linear equations.
复制代码
The only thing you need to know before hand is the highest oder of your polynomial. I can not think of any good way to find it out in case you do not know it.