Hi,
We have need in our product to do partial evaluation to simplify expressions that contain both variables and constants. Goal is to combine terms algebraically to reduce the constants whenever possible. For example the following expressions:
4x + 6y + 2x
7 + 2x - 3
10^-5 * x * 10^-4
Should become (respectively):
6(x + y)
4 + 2x
10^-9 * x
Please suggest any existing free software packages that we might use to accomplish this. This is for a commercial product, so restrictive GPLs can't be used.
Thanks.
-William