12 Jun
2013
12 Jun
'13
4:35 p.m.
Good evening everybody, I'm new to ginac, i read the tutorial but i've a question, if I have an equation expression, something like symbol x("x"), y("y"); ex eq = 2*x + 3*x*y - 5*y == 0 is there a method to isolate a single variable, i.e. cout << isolate(eq, x) << endl; // x == 5*y*(2 + 3*y)^(-1) cout << isolate(eq, y) << endl; // y == 2*x*(5 - 3*x)^(-1) thanks for all replies.. -am