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

 


EltIsPrimitive

Checks whether an algebraic element is primitive.

Syntax:

b := EltIsPrimitive (a);

boolean
  b  
algebraic element
  a  

See also:  EltMinPoly

Description:

no detailed description available yet


Example:


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

kash> alpha := Elt(O, [0,0,1,0]);
[0, 0, 1, 0]
kash> EltIsPrimitive(alpha);
false
kash> beta := Elt(O, [0,0,0,1]);
[0, 0, 0, 1]
kash> EltIsPrimitive(beta);
> true


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