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

 


SubfieldAdd

Adds a subfield to the given order.

Syntax:

SubfieldAdd(o, sub, alpha);

order
  o  
order
  sub  
subfield
algebraic element
  alpha  
primitive element of sub in o

See also:  OrderSubfield, OrderSubfieldSub, SubfieldGet

Description:

This function adds a subfield to the given order. It checks if this subfield was known. In this case, true is returned. The subfield must be given as an equation order.


Example:


kash> o:=Order(Z,2,2);
Generating polynomial: x^2 - 2

kash> O:=Order(o,2,3);
      F[1]
        /
       /
   E1[1]
  /
 /
Q
F  [ 1]     x^2 - 3
E 1[ 1]     x^2 - 2

kash> Oa:=OrderAbs(O);
Generating polynomial: x^4 - 10*x^2 + 1

kash> SubfieldAdd(Oa,o,EltMove(OrderBasis(o)[2],Oa));
> true


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