Ask Your Question

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

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?

Evaluate a list

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?