symja_android_library
symja_android_library copied to clipboard
Implement diophantine solvers from Mangara/diophantine
Use the diophantine solvers from this library:
- https://github.com/Mangara/diophantine
in the FindInstance function
Enable: ToggleFeature.SOLVE_DIOPHANTINE = true to test the experimental implementation.
@Mangara: maybe you can help verifying the implementation?
Looks reasonable to me. I'm glad you find it useful!
One small thing I noticed - I'm not sure why you try to detect the special cases yourself in diophantinePolynomial. QuadraticSolver.solve already defers to ParabolicSolver where appropriate.