| 1 | initial version |
You forgot to pass map=True to get the maps.
K.<a> = CyclotomicField(11)
Q = K.primes_above(3)[0]
KQ = K.residue_field(Q)
VQ, fr, to = KQ.vector_space(map=True)
Then:
sage: to(a)
(0, 1, 0, 0, 0)
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.