Thanks all for the replies.
As far as the coercion issues go, I generally agree. I'd be happy to
have access to a CuspForms(22).zero_element() or CuspForms(22)(0), and
start my summation there. Re: I agree with William for the defaults.
Jay
--~--~-~--~~~---~--~---
Hi all, I'm having trouble adding two modular forms together,
sometimes. Here is a whittled-down demo case:
sage: b=CuspForms(22).basis()
sage: sum(b)
Traceback (most recent call last):
...
NameError: global name 'other' is not defined
The following also doesn't work:
sage: ssum=0
sage: for u