I have a string with some expression and I want get string with derivative of this expression. For example:
std::string s = "x^2 - 6*x + 5";
std::string s2 = differentiate(s);
std::cout << s2;
output will be :
2 * x - 6
is there some C++ library which can deal with this problem?