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

 


EltIsIntegral

Tests whether the element is an algebraic integer resp. an element of the order. The second parameter "order" checks, if the element is integral in the mathematical sence, e.g. if it has a denominator.

Syntax:

b := EltIsIntegral(a);
b := EltIsIntegral(a, "order");

boolean
  b  
algebraic element
  a  

Description:

no detailed description available yet


Example:


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

kash> a := Elt(o,[1,2,3,4]);
[1, 2, 3, 4]
kash> EltIsIntegral(a);
true
kash> EltIsIntegral(a/13);
false

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

kash> a := Elt(o, [1,1]/2);
[1, 1] / 2
kash> EltIsIntegral(a);
true
kash> EltIsIntegral(a, "order");
> false


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