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

 


OrderBasis

Returns a basis whose elements are elements of the given order with a denominator.

Syntax:

L := OrderBasis(o);
L := OrderBasis(o, O);

list of algebraic elements
  L  
order
  o  
order
  O  

See also:  OrderCoefIdeals

Description:

If the second order is omitted, the basis returned consists of elements of the equation order. Otherwise the elements are moved into the second order. In the relative case the basis elements of the pseudo basis are returned.


Example:

A basis of the maximal order of x^4 + 73x^2 - 280x - 2399 represented in the equation order and in the maximal order itself.

kash> O := OrderMaximal (Poly (Zx,[1,0, 73, -280, -2399]));
   F[1]
    |
   F[2]
  /
 /
Q
F  [ 1]     Given by transformation matrix
F  [ 2]     x^4 + 73*x^2 - 280*x - 2399
Discriminant: -997975 

kash> OrderBasis (O);
[ 1, [0, 1, 0, 0], [1, 1, 1, 0] / 2, [414, 857, 795, 1] / 1646 ]
kash> OrderBasis (O, O);
> [ 1, [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1] ]


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