Powmod - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Group Theory : Inert Functions : Powmod

Powmod

inert power function with remainder

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Powmod(a, n, b, x)

Powmod(a, n, b)

Parameters

a

-

polynomial in x

n

-

integer

b

-

polynomial in x

x

-

name

Description

• 

The Powmod function is a placeholder for representing Reman,b or Reman,b,x.  Powmod is more efficient than computing Power(a, n) separately.  It is used in conjunction with either mod or modp1.

• 

The call Powmod(a, n, b, x) mod p computes Reman,b,xmodp. The polynomials a and b must have rational coefficients or coefficients over a finite field specified by RootOfs.

• 

The call modp1(Powmod(a, n, b), p) computes Reman,bmodp. The polynomials a and b must be in the modp1 representation and p must be a positive integer.

Examples

Powmodx,16,x4+x+1,xmod2

x

(1)

Powmodx,5,x4+x+1,xmod2

x2+x+1

(2)

See Also

Gcdex

mod

modp1

Power

powmod

Rem

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam