This project focuses on approximating given functions with simpler ones (e.g. polynomials) and quantitatively characterizes the errors introduced thereby.
The first thing we need is to generate a math expression parser. Third party libraries (e.g. ExprTk) are welcome. However, a native parser is a nice-to-have even being less powerful. At least it should be able to handle functions like exponential and sine function.
The unit test on this will include two tests one being f(x)=Exp[x], and the other being f(x)=Sin[x]. UnitTest++ is suggested for managing the tests.
Definition of Resolution of this Issue is: Passing these two unit tests.
The first thing we need is to generate a math expression parser. Third party libraries (e.g. ExprTk) are welcome. However, a native parser is a nice-to-have even being less powerful. At least it should be able to handle functions like exponential and sine function.
The unit test on this will include two tests one being f(x)=Exp[x], and the other being f(x)=Sin[x]. UnitTest++ is suggested for managing the tests.
Definition of Resolution of this Issue is: Passing these two unit tests.