Polynomial long division: Difference between revisions
→{{header|GAP}}
(→{{header|Fortran}}: adding GAP (built-in)) |
|||
Line 551:
=={{header|GAP}}==
GAP has built-in functions for computations with polynomials.
<lang gap>x := Indeterminate(Rationals, "x");
p := x^11 + 3*x^8 + 7*x^2 + 3;
q := x^7 + 5*x^3 + 1;
|