Previous Up Next

5.25.12  Factorization : collect

collect takes as argument a polynomial or a list of polynomials and optionally an algebraic extension like sqrt(n) (for √n).
collect factorizes the polynomial (or the polynomials in the list) on the field of its coefficient (for example ℚ) or on the smallest extension containing the optional second argument (e.g. ℚ[√n]). In complex mode, the field is complexified.
Examples :


Previous Up Next