IntegerSolveLinearPolynomialEquation¶
integer.spad line 1 [edit on github]
This package provides the implementation for the solveLinearPolynomialEquation operation over the integers. It uses a lifting technique from the package GenExEuclid
- solveLinearPolynomialEquation: (List SparseUnivariatePolynomial Integer, SparseUnivariatePolynomial Integer) -> Union(List SparseUnivariatePolynomial Integer, failed)
solveLinearPolynomialEquation([f1, ..., fn], g)
(where thefi
are relatively prime to each other) returns a list ofai
such thatg/prod fi = sum ai/fi
or returns “failed” if no such list ofai
's
exists.