# Revision history [back]

### Evaluate a list

Hi,

Suppose for example E =[x,x^2,x+1] is a list of elements in \ZZ[x]. Let K be a number field defined in Sage

for some irreducible polynomial f(x). Then how can one evaluate the list E by setting x=a and x=\sigma(a) (conjugate of a) in Sage?

 2 No.2 Revision tmonteil 24343 ●27 ●176 ●448 http://wiki.sagemath.o...

### Evaluate a list

Hi,

Suppose for example E =[x,x^2,x+1] =[x,x^2,x+1] is a list of elements in \ZZ[x]. ZZ[x]. Let K K be a number field defined in Sage

K.<a>

K.<a> = NumberField(f(x))NumberField(f(x))


for some irreducible polynomial f(x). $f(x)$. Then how can one evaluate the list E E by setting x=a $x=a$ and x=\sigma(a) $x=\sigma(a)$ (conjugate of a) in Sage?

### Evaluate a list

Hi,

Suppose for example E =[x,x^2,x+1] is a list of elements in ZZ[x]. Let K be a number field defined in Sage

K.<a> = NumberField(f(x))


for some irreducible polynomial $f(x)$. Then how can one evaluate the list E by setting $x=a$ and $x=\sigma(a)$ (conjugate of a) in Sage?