This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Documentation / Mathematica / Built-in Functions / Algebraic Computation / Polynomial Functions /


FilledSmallSquare PolynomialMod[poly, m] gives the polynomial poly reduced modulo m.

FilledSmallSquare PolynomialMod[poly, , , ... ] reduces modulo all of the .

FilledSmallSquare PolynomialMod[poly, m] for integer m gives a polynomial in which all coefficients are reduced modulo m.

FilledSmallSquare Example: PolynomialMod[3x^2 + 2x + 1, 2] LongRightArrow.

FilledSmallSquare When m is a polynomial, PolynomialMod[poly, m] reduces poly by subtracting polynomial multiples of m, to give a result with minimal degree and leading coefficient.

FilledSmallSquare PolynomialMod gives results according to a definite convention; other conventions could yield results differing by multiples of m.

FilledSmallSquare Unlike PolynomialRemainder, PolynomialMod never performs divisions in generating its results.

FilledSmallSquare See Section 3.3.4.

FilledSmallSquare See also: PolynomialGCD, Mod, PolynomialRemainder, PolynomialReduce, GroebnerBasis.

FilledSmallSquare Related package: Algebra`PolynomialPowerMod`.

FilledSmallSquare New in Version 2.

Further Examples