[GiNaC-list] Variable Isolation

David Narvaez david.narvaez at computer.org
Thu Dec 13 13:30:29 CET 2012


On Thu, Dec 13, 2012 at 3:04 AM, Richard B. Kreckel <kreckel at ginac.de> wrote:
> I don't know what you mean by "isolate". Maybe the the collect and coeff
> methods are what you are looking for.

I mean something like

isolate("x + y = 1", x) -> "x = 1 - y"
isolate("(y+2)^2+x * (y+2)+1=0", yplus2) -> "y+2 = (-x + sqrt(x^2-4))/2"

David E. Narváez


More information about the GiNaC-list mailing list