Power - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Power

inert power function

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Power(a, n)

Parameters

a

-

multivariate polynomial

n

-

non-negative integer

Description

• 

The Power function is a placeholder for representing an. It is used in conjunction with either mod or modp1.

• 

The call Power(a, n) mod p computes anmodp. The multivariate polynomial a must have rational coefficients or coefficients from a finite field specified by RootOfs.

• 

The call modp1(Power(a, n), p) also computes anmodp. The polynomial a must be in the modp1 representation and p must be a positive integer.

• 

Power is also equivalent to the infix operator &^ as shown in the examples.

Examples

Powerx+1,3mod2

x3+x2+x+1

(1)

Powerx+1,4mod2

x4+1

(2)

x+14mod2

x+14

(3)

3781247mod99999617

67158091

(4)

See Also

^

mod

modp1

Powmod