ComplexIntegerSolveLinearPolynomialEquation(R, CR)¶
gaussian.spad line 619 [edit on github]
CR: ComplexCategory R
This package provides the generalized euclidean algorithm which is needed as the basic step for factoring polynomials.
- solveLinearPolynomialEquation: (List SparseUnivariatePolynomial CR, SparseUnivariatePolynomial CR) -> Union(List SparseUnivariatePolynomial CR, failed)
solveLinearPolynomialEquation([f1, ..., fn], g)
where (fi
relatively prime to each other) returns a list ofai
such thatg
= sumai
prodfj
(j
\=
i
) or equivalently g/prodfj
= sum (ai/fi) or returns “failed” if no such list exists