modpol - Maple Help

modpol

expression evaluation in a quotient field

 Calling Sequence modpol(a, b, x, p)

Parameters

 a - rational expression over the rational numbers b - polynomial over the rational numbers x - name p - prime number

Description

 • This procedure evaluates $a\left(x\right)$ over $\frac{{\mathrm{Zp}}_{x}}{b\left(x\right)}$.

Examples

 > $\mathrm{modpol}\left({x}^{2}-1,x,x,7\right)$
 ${6}$ (1)
 > $\mathrm{modpol}\left({x}^{8}+2x,{x}^{3}-9x+2,x,3\right)$
 ${{x}}^{{2}}{+}{2}{}{x}$ (2)