type/zppoly
check for a modp1 or modp2 polynomial
Calling Sequence
Parameters
Description
Supertypes
Examples
type(a, zppoly)
a
-
expression
The type(a, zppoly) calling sequence checks that a is a modp1 or a modp2 polynomial.
The modp1 function provides efficient arithmetic and other operations for univariate polynomials modulo a prime. The modp2 function provides similar efficiency for bivariate polynomials modulo a prime. They achieve this efficiency by using a dedicated data structure.
type/algebraic
a≔modp1⁡ConvertIn⁡x4−x2+2,x,11
a≔x4+10⁢x2+2mod11
type⁡a,zppoly
true
b≔modp2⁡ConvertIn⁡x4⁢y2−1,x,y,17
b≔x4⁢y2+16mod17
type⁡b,zppoly
type⁡modp2⁡Diff⁡b,1,17,zppoly
type⁡x2+2⁢y,zppoly
false
See Also
modp1
modp2
type
type/polynom
Download Help Document