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

 


Ideal2EltNormalAssure

Calculates a 2 element normal representation of an ideal.

Syntax:

Ideal2EltNormalAssure(I);

ideal
  I  

See also:  IdealGenerators

Description:

This is a special represenation to speed up multipication and inverting an ideal. The two generators are computed if not already present and then transformed to a normal representation via a propabilistic algorithm. Multiplying and inverting use normal representations on appropriate occasions.


Example:


kash> O := OrderMaximal (Order (Poly (Zx, [1,0,0,0,657])));;
kash> I := 5*Elt (O,[345,76,345,46])*O;
<[1725, 380, 1725, 230]>
kash> fac := Filtered (Flat (Factor (I)), IsIdeal);
[ <2, [1, 1, 0, 0]>, <3, [0, 7, 3, 7]>, <5>, <7, [1, 1, 0, 0]>, 
  <41, [3, 1, 0, 0]>, <41, [27, 1, 0, 0]>, <197603671, [39148097, 1, 0, 0]> ]
kash> for I in fac do
> Ideal2EltNormalAssure (I);
> Print (I,"\n");
> od;
> <2, [1, 1, 0, 0]>
<3, [0, 7, 3, 7]>
<5>
<7, [1, 1, 0, 0]>
<41, [3, 1, 0, 0]>
<41, [27, 1, 0, 0]>
<197603671, [39148097, 1, 0, 0]>


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