[back] [prev] [next] [index] [root]
IdealNorm
Returns the norm of an ideal.
Syntax:
n := IdealNorm(I);
ideal |
I |
|
rational number |
n |
|
See also: Norm, EltNorm
Description:
If the ideal \a is an ideal over an absolute order O the
norm is the number of elements of the finite ring O/\a.
If the ideal \a is an ideal over a relative order the
relative norm of this ideal is returned which is the ideal
generated by the norms of all elements of the ideal \a.
Iterative application of IdealNorm eventually leads to
the absolute norm of an relative ideal.
Once computed the minimum is stored in the ideal data
structure so it has not to be computed again.
Example:
Computing the norm of 2*O + (1+rho)*O where O is the maximal order
of x^2-2 and rho^2 = 2.
kash> O := OrderMaximal(Order(Poly(Zx, [1, 0, -2])));
Generating polynomial: x^2 - 2
Discriminant: 8
kash> IdealNorm(Elt(O, [1 ,4])*O);
31
kash> IdealNorm (Elt (O,[3,6]/2)*O);
> 63/4
<- back[back] [prev] [next] [index] [root]