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

 


EltDen

Returns the denominator of an algebraic element.

Syntax:

d := EltDen(a);
d := EltDen(a, "rep");

integer
  d  
algebraic element
  a  

Description:

The denominator of the algebraic number a is the smallest natural number d such that dcdot a is an algebraic integer. If you use EltDen(a, "rep") the denominator in the representation of a is returned.


Example:

An absolute example.

kash> o := Order (x^3 - 23*x^2 + 146*x - 244);;
kash> a := Elt (o, [1/2,3/5,45/5657567]);
[28287835, 33945402, 450] / 56575670
kash> EltDen (a);
56575670
kash> EltDen (a, "rep");
> 56575670


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