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

 


EltMatToList

Converts a matrix of algebraic numbers over a maximal order o into a dynamic array of elements of the relative order O.

Syntax:

L := EltMatToList(O, M);

list
  L  
of algebraic numbers over O
matrix
  M  
of algebraic numbers
order
  O  
relative order over the coefficient order of the elements of the matrix

See also:  EltListToMat

Description:

Denominators are collected to a single denominator (lcm) and the coefficients are multiplied accordingly.


Example:


kash> o := OrderMaximal(Order(Z,2,3));;
kash> O := Order(o,2,7);
      F[1]
        /
       /
   E1[1]
  /
 /
Q
F  [ 1]     x^2 - 7
E 1[ 1]     x^2 - 3

kash> M := Mat(o, [ [1, Elt(o,[0,2])], [Elt(o,[0,1]), Elt(o,[1,1])]]);
[1 [0, 2]]
[[0, 1] [1, 1]]
kash> EltMatToList(O, M);
> [ [1, [0, 1]], [[0, 2], [1, 1]] ]


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