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

 


EltDivisors

Computes all divisors of an algebraic integer.

Syntax:

L := EltDivisors (a);

list
  L  
algebraic integer
  a  

Description:

The EltDivisors function computes a list containing all divisors of an algebraic integer a up to multiplication by a unit. The underlying order of a must be known to be maximal.


Example:


kash> o := OrderMaximal(Z,2,-5);
Generating polynomial: x^2 + 5
Discriminant: -20 

kash> a := Elt(o,6);
6
kash> EltDivisors(a);
> [ 1, 2, [1, 1], [1, -1], 3, 6 ]


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