Hello group,

I am playing with rings which look like K = Q[X]/<Phi_m(X)> with any large 
value m. Unfortunately I cannot use NumberField() because it's too long. I 
get around this by using quotient which is a little bit faster:

m = 3*5*7*11
Q.<x> = QQ['x']
Phi_m = cyclotomic_polynomial(m)
K.<k> = Q.quotient(Phi_m)

What I want to do is a way to evaluate polynomials of K in a power of a 
primitive square root of unity: 

omega = CC(e^(2*I*pi/m))
F = Hom(K, CC)
f = F([omega])
TypeError: images do not define a valid homomorphism

Does anyone see another way to do this?

Thanks,

François

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to