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

 


PolyNorm

Returns the norm of a polynomial.

Syntax:

n := PolyNorm(f);

norm (polynomial)
  n  
polynomial
  f  

Description:

Returns the norm n\ino[x] of a polynomial f\inO[x]. o is the coefficient ring of the order O.


Example:


kash> O := Order(Z,2,3);
Generating polynomial: x^2 - 3

kash> Ox := PolyAlg(O);
Univariate Polynomial Ring in x over Generating polynomial: x^2 - 3

kash> f := Poly(Ox,[1,0,Elt(O,[1,4]),Elt(O,[3,4]),9]);
x^4 + [1, 4]*x^2 + [3, 4]*x + 9
kash> PolyNorm(f);
> x^8 + 2*x^6 + 6*x^5 - 29*x^4 - 90*x^3 - 21*x^2 + 54*x + 81


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