[back] [prev] [next] [index] [root]
IdealImprove
Improves the generators of the ideal given in two element
representation.
Syntax:
I1:= IdealImprove(I2);
See also: IdealMin
Description:
The ideal can be improved if
- one of the generators is an rational integer. Then
every basis coefficient of the other generator can be
reduced modulo this integer.
- the minimum is given. Coefficients of both generators
can be reduced modulo this integer. This procedure is fast
and simple therefore it does not compute the minimum
of the ideal. For more possible improvement call
IdealMin first.
Example:
kash> O:=Order(Poly(Zx,[1,0,2,4,58]));
Generating polynomial: x^4 + 2*x^2 + 4*x + 58
kash> E:=Elt(O,[1,2,-1,-2]);
[1, 2, -1, -2]
kash> I:=Ideal(3,E^7);
<3, [-470899145529, -57698441418, 37053141409, 29584796218]>
kash> IdealImprove(I);
> <3, [-470899145529, -57698441418, 37053141409, 29584796218]>
<- back[back] [prev] [next] [index] [root]