[back] [prev] [next] [index] [root]

 


InftyGcd

Computes a greatest common divisor with respect to the degree valuation.

Syntax:

c := InftyGcd(a, b);

quotient field elements
  a,b,c  

See also:  InftyVal, InftyQuotRem, InftyLcm

Description:

Let a, b \in FF_q(x). This function returns x^{-min(\nu_\infty(a),\nu_\infty(b))}.


Example:


kash> k := FF(5, 2);
Finite field of size 5^2
kash> kx := PolyAlg(k);
Univariate Polynomial Ring in x over GF(5^2)

kash> x := Poly(kx, [1,0]);
x
kash> InftyGcd(x^2+1, x^3+1);
x^3


<- back[back] [prev] [next] [index] [root]