 PolynomialReduce - Maple Help

MmaTranslator[Mma]

 PolynomialReduce
 returns a list representing a reduction of a polynomial Calling Sequence PolynomialReduce(arguments) Parameters

 arguments - Maple translation of the Mathematica command arguments Description

 • The PolynomialReduce returns a list representing a reduction of a specified polynomial in terms of a specified list of polynomials. Examples

 > $\mathrm{with}\left(\mathrm{MmaTranslator}\left[\mathrm{Mma}\right]\right):$
 > $\mathrm{PolynomialReduce}\left(a{x}^{5}-5{x}^{3}+{x}^{2}+a,\left\{a,x\right\}\right)$
 $\left[\left[{{x}}^{{5}}{+}{1}{,}{-}{5}{}{{x}}^{{2}}{+}{x}\right]{,}{0}\right]$ (1)

Alternatively, you can use the FromMma command with the evaluate option specified.

 > $\mathrm{with}\left(\mathrm{MmaTranslator}\right):$
 > $\mathrm{FromMma}\left(\mathrm{PolynomialReduce\left[a x^5 - 5 x^3 + x^2 + a, \left\{x, a\right\}\right]},\mathrm{evaluate}\right)$
 $\left[\left[{{x}}^{{4}}{}{a}{-}{5}{}{{x}}^{{2}}{+}{x}{,}{1}\right]{,}{0}\right]$ (2)