[back] [prev] [next] [index] [root]
IdealGenerators
Returns the 2 generators of the 2-element-representation of the
ideal.
Syntax:
L := IdealGenerators(I);
ideal |
I |
|
list |
L |
of two algebraic numbers |
See also: IdealBasis
Description:
Ideals are given either in Z-basis representation or 2
element representation. If the ideal is given in 2 element
representation this representation is simply returned. Otherwise it
will be computed. In this case the ideal has got 2 equivalent
representations stored afterwards. This can be of advantage because
some algorithms prefer 2 element representations, others prefer
Z-basis representations.
Example:
kash> O := OrderMaximal(Order(Poly(Zx, [1, 6, 6, 6])));;
kash> Lp:=Factor(6*O);
[ [ <2, [0, 1, 0]>, 3 ], [ <3, [0, 1, 0]>, 3 ] ]
kash> I := Lp[1][1]*Lp[2][1];
<
[6 0 0]
[0 1 0]
[0 0 1]
>
kash> IdealGenerators(I);
> [ 6, [0, 1, 35] ]
<- back[back] [prev] [next] [index] [root]