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

 


EltToList

Returns the coefficient list of the algebraic element a.

Syntax:

L := EltToList(a);

algebraic element
  a  
list
  L  
of integers or algebraic elements

Description:

no detailed description available yet


Example:


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

kash> a := Elt(o,[1,2,3,4,5,6]);
[1, 2, 3, 4, 5, 6]
kash> EltToList(a);
[ 1, 2, 3, 4, 5, 6 ]
kash> a := a/2;
[1, 2, 3, 4, 5, 6] / 2
kash> EltToList(a);
> [ 1/2, 1, 3/2, 2, 5/2, 3 ]


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