MmaTranslator[Mma] - Maple Programming Help

Home : Support : Online Help : Connectivity : Mathematica Translator : Mma : MmaTranslator/Mma/PolynomialReduce

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}[\mathrm{Mma}]\right):$
 > $\mathrm{PolynomialReduce}\left(a{x}^{5}-5{x}^{3}+{x}^{2}+a,\left\{x,a\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[{a}{}{{x}}^{{4}}{-}{5}{}{{x}}^{{2}}{+}{x}{,}{1}\right]{,}{0}\right]$ (2)