Vote count:
0
Is there a library to get equations as a form of C# Code? I am not just asking about shunting yard algorithm. Say I have an Equation as follows:
For this equation, the user may just enter x+y+2*(x^2 + y^2)+2*x*y and the library may convert it to a specific sting format that matches C# code like this:
(double)x_i[i] - (double)x_j[i] + 2 * Math.Pow((double)x_i[i], 2) + (Math.Pow((double)x_j[i], 2)) + 2 * ((double)x_i[i] * (double)x_j[i])
Is this even possible?
asked 39 secs ago
Aucun commentaire:
Enregistrer un commentaire