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

 


EltRoot

Computes a root of an algebraic element.

Syntax:

beta := EltRoot(alpha,m);
beta := EltRoot(alpha,m [,"enum"|"mode"]);
beta := EltRoot(alpha,m ,"enum", mode);

false or algebraic element
  beta  
algebraic element
  alpha  
small integer
  m  
small integer or string
  mode  
string
  enum  

Description:

Let \alpha be an algebraic element from a maximal order O.


Example:

Computation of roots of some algebraic elements:

kash> o := Order (Poly(Zx,[1,0,73,-280,-2399]));;
kash> o := OrderMaximal (Order (Poly(Zx,[1,0,73,-280,-2399])));;
kash> a := Elt (o,[48427150173, 2658413621, -99500340384, 103801743979]);
[48427150173, 2658413621, -99500340384, 103801743979]
kash> EltRoot (a, 2);
[156369, 8584, -321281, 335170]
kash> o := OrderMaximal (Order (Z,7,2));;
kash> a := Elt (o, 2);
2
kash> EltRoot (a,2);
false
kash> EltRoot (a,7);
> [0, 1, 0, 0, 0, 0, 0]


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