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

 


Norm

Computes the norm of an algebraic number, an ideal, a polynomial or an alff element or divisor.

Syntax:

n := Norm(a);
n := Norm(b, o);

int | rational | algebraic number | polynomial
  n  
algebraic element | ideal | polynomial | alff element | ff element
  a  
algebraic element | ff element
  b  
order
  o  

Description:

Depending on the type of a or b the norm of an algebraic element, the norm of an ideal, polynomial or an alff element or divisor is computed.


Example:

This examples take place in {\Bbb Q}(\sqrt5):

kash> o := Order(Z, 2, 5);;
kash> Norm(Elt(o, [1, 2]));
-19
kash> u := OrderUnitsFund(o);
[ [2, 1] ]
kash> Norm(u[1]);
-1
kash> Norm(2*o);
4
kash> Norm(Ideal(2, Elt(o,[2,3 ])));
> 1


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