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

 


IdealDen

The denominator of the ideal.

Syntax:

d := IdealDen(I);

ideal
  I  
integer
  d  

See also:  IdealIsIntegral

Description:

The denominator of a fractional ideal \a is the smallest positive integer d that d\a is an integral ideal. Integral ideals are just fractional ideals with denominator 1 and have no separate internal data structure. Once computed the denominator is stored in the ideal data structure so it has not to be computed again.


Example:


kash> O := OrderMaximal(Poly(Zx,[1,4,1,-4,-3,7]));
Generating polynomial: x^5 + 4*x^4 + x^3 - 4*x^2 - 3*x + 7
Discriminant: 28442269 

kash> a := Elt(O,[1,5,1,8,0]);
[1, 5, 1, 8, 0]
kash> b := Elt(O,[3, 1,5,1,8]);
[3, 1, 5, 1, 8]
kash> I := Ideal(a, b);
<[1, 5, 1, 8, 0], [3, 1, 5, 1, 8]>
kash> IdealDen(I^-1);
> 3


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