rsolve.txt 1.3 KB

123456789101112131415161718192021222324252627282930
  1. Rational and integer zeros of a univariate polynomial
  2. using fast modular methods.
  3. Author: F.J.Wright@Maths.QMW.ac.uk
  4. Version 1.05, 2 Oct 1994
  5. The operators r_solve and i_solve take a single univariate polynomial (or
  6. polynomial equation) as argument, and optionally the variable as second
  7. argument, and return respectively the sets of rational and integer zeros.
  8. Any denominator is completely ignored! See the test/demo file rsolve.tst
  9. for examples.
  10. Default output format is the same as used by solve (including respecting
  11. the multiplicities switch), but optional arguments allow other output
  12. formats (see the source file rsolve.red for details). Solutions of
  13. degenerate equations are expressed by r_solve and i_solve using the
  14. operators ARBRAT (which is new) and ARBINT respectively.
  15. Computing only the integer zeros is slightly more efficient than extracting
  16. them from the rational zeros. This algorithm appears to be faster than
  17. solve by a factor that depends on the example, but typically up to about 2,
  18. and gives more convenient output if only integer or rational zeros are
  19. required.
  20. The algorithm used is that described by R. Loos (1983): Computing rational
  21. zeros of integral polynomials by p-adic expansion. SIAM J. Computing. 12,
  22. 286--293.
  23. The switch TRSOLVE turns on tracing of the algorithm.