-
Notifications
You must be signed in to change notification settings - Fork 6
Description
It would be nice to have an implementation independent interface for solving systems of polynomial equations. There will soon be an implementation here using the classical Groebner basis method and relying on MultivariatePolynomials to do all the work.
We have already a nice interface to build an algebraic set
@set x == 1 && y == 2Now, we need an interface to query the solutions of the equations. Here these are the points of the sets so we could just iterate through the set and in case the set was not zero dimensional then throw an error
collect(@set x^2 == 1 && y == 2) # -> [(-1, 2), (1, 2)]
collect(@set x == y) # -> error not zero dimensionalThe problem with the current interface is that we currently do not specify anywhere what will be the algorithm used to find the points.
The user should be able to say that he wants another library do deal with it, e.g.:
cc @saschatimme