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

 


AlffEltNum

Returns the numerator of an algebraic function field element.

Syntax:

b := AlffEltNum(a);

algebraic function field element
  a  
algebraic function field element
  b  

See also:  AlffEltDen, AlffEltToList, Num, Den

Description:

Let a be defined with respect to the R-order o in F/k(T) of rank n with basis b_1, … ,b_n, R being k[T] or the valuation ring of the degree valuation of k(T). For a = \sum_{i=1}^n c_i b_i/d, c_i,d\in R coprime, (1 <= i <= n), the function returns \sum_{i=1}^n c_i b_i/d.


Example:


kash> AlffInit(FF(5,2));
"Defining global variables: k, w, kT, kTf, kTy, T, y, AlffGlobals"
kash> AlffOrders(y^3+T^4+1);
"Defining global variables: F, o, oi, one"
kash> a := AlffElt(o, [0, 1, 0]);
[ 0, 1, 0 ]
kash> 1/a;
[ 0, 0, 4 ] / (T^4 + 1)
kash> AlffEltNum(1/a);
> [ 0, 0, 4 ]


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