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

 


IdealGen

missing shortdoc

Syntax:

g := IdealGen(I, i);

algebraic element
  g  
ideal
  I  
small integer
  i  
{\in{1,2}}

See also:  IdealGenerators, IdealBasis

Description:

Any ideal I of a maximal order o may be generated using two elements g_1 and g_2 (i.e. I = g_1o + g_2o). This functions returns g_i (i\in{1,2}) after computing suitable generators if necessary. The restriction to maximal orders is only necessary to compute the generators. Note that the generators are not unique! In fact since the algorithm is probabilistic, they may change between two sessions.


Example:


kash> O := Order(Poly(Zx, [1, 6, 6, 6]));;
kash> alpha := Elt(O, [0, 1, 0]);;
kash> I := Ideal(6, alpha);
<6, [0, 1, 0]>
kash> IdealGen(I, 1);
6
kash> IdealGen(I, 2);
> [0, 1, 0]


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