zppoly - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


type/zppoly

check for a modp1 or modp2 polynomial

 

Calling Sequence

Parameters

Description

Supertypes

Examples

Calling Sequence

type(a, zppoly)

Parameters

a

-

expression

Description

• 

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.

Supertypes

• 

type/algebraic

Examples

> 

a≔modp1⁡ConvertIn⁡x4−x2+2,x,11

a≔x4+10⁢x2+2mod11

(1)
> 

type⁡a,zppoly

true

(2)
> 

b≔modp2⁡ConvertIn⁡x4⁢y2−1,x,y,17

b≔x4⁢y2+16mod17

(3)
> 

type⁡b,zppoly

true

(4)
> 

type⁡modp2⁡Diff⁡b,1,17,zppoly

true

(5)
> 

type⁡x2+2⁢y,zppoly

false

(6)

See Also

modp1

modp2

type

type/algebraic

type/polynom