Power
inert power function
Calling Sequence
Parameters
Description
Examples
Power(a, n)
a
-
multivariate polynomial
n
non-negative integer
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.
Power⁡x+1,3mod2
x3+x2+x+1
Power⁡x+1,4mod2
x4+1
x+1&ˆ4mod2
x+1&ˆ4
3&ˆ781247mod99999617
67158091
See Also
^
mod
modp1
Powmod
Download Help Document