On Thu, Oct 4, 2012 at 2:24 AM, David Loeffler <[email protected]> wrote: > On 4 October 2012 00:57, Maarten Derickx <[email protected]> wrote: >> The reason is that q_expansion_basis returns power series and not modular >> forms: > > Yes, I know, but in practice one often wants to know if a given power > series is the q-expansion of an element of the space, and it seems > strange to me that you can do this by the ugly method of calling > "M(v)" and testing whether it raises an error, but you can't just use > "in". Maybe it's a matter of taste. > > David
You're probably right, given the way in tends to work, e.g., sage: GF(3)(2) in ZZ True sage: 7/1 in ZZ True > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > Visit this group at http://groups.google.com/group/sage-devel?hl=en. > > -- William Stein Professor of Mathematics University of Washington http://wstein.org -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
