Ask Your Question
0

<repr(<sage.modular.modform.element.Newform at 0x7f0c8fa15c30>) failed: IndexError: list index out of range>],

asked 2014-07-22 07:08:39 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

M11=ModularForms(11,2,base_ring=Qp(7,10));show(M11.modular_symbols()),show(M11),M11.level(),M11.weight(),M11.character(),M11.dimension(),M11.group().order(),M11.group().gens(),M11.newforms(),M11.free_module(),show(M11.hecke_module_of_level(1)),

1 why \QQ7 is red?maybe 7-adic field Op7?

2 free_module is error.

<repr(<sage.modular.modform.element.newform at="" 0x7f0c8fa15c30="">) failed: IndexError: list index out of range>],

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-07-22 08:12:29 -0600

updated 2014-07-22 09:54:20 -0600

I tried the code from your question, one command per line, without the 'show' commands.

Your question about free_module

The command M11.free_module() did not produce any error in Sage 6.3.beta6. Everything worked except the command about newforms.

The error with the method newforms

If you have a quick look at the documentation for the method newforms, which you can access by

sage: M11.newforms?

you will see that the examples all involve spaces of cusp forms.

Indeed the following works.

sage: CuspForms(11).newforms()
[q - 2*q^2 - q^3 + 2*q^4 + q^5 + O(q^6)]

Your first question: why \QQ7 is red?

When you ask show(M11.modular_symbols()), the output is rendered using LaTeX, and the 7-adic field appears in bold as $\mathbf{Q}_7$. Maybe you don't have LaTeX installed, and when you viewed the output the boldface was rendered as red? Where was the output rendered?

Full output of the code you provided

For reference this was the output when running your commands, slightly reordered.

sage: version() # for reference
'Sage Version 6.3.beta6, Release Date: 2014-07-19'

sage: M11 = ModularForms(11,2,base_ring=Qp(7,10))
sage: M11
Modular Forms space of dimension 2 for Congruence Subgroup Gamma0(11) of weight 2 over 7-adic Field with capped relative precision 10
sage: M11.modular_symbols()
Modular Symbols space of dimension 3 for Gamma_0(11) of weight 2 with sign 0 over 7-adic Field with capped relative precision 10
sage: M11.level()
11
sage: M11.weight()
2
sage: M11.character()
Dirichlet character modulo 11 of conductor 1 mapping 2 |--> 1
sage: M11.dimension()
2
sage: M11.group().order()
+Infinity
sage: M11.group().gens()
(
[1 1]  [ 7 -2]  [ 8 -3]  [-1  0]
[0 1], [11 -3], [11 -4], [ 0 -1]
)
sage: M11.newforms()
[<repr(<sage.modular.modform.element.Newform at 0x1136915a0>) failed: IndexError: list index out of range>]
sage: M11.free_module()
Vector space of dimension 2 over 7-adic Field with capped relative precision 10
sage: M11.hecke_module_of_level(1)
Modular Forms space of dimension 0 for Modular Group SL(2,Z) of weight 2 over 7-adic Field with capped relative precision 10
edit flag offensive delete link more

Comments

thank you very much! when will sagecloud or cell be 6.3 beta6? version() 'Sage Version 6.2.rc2, Release Date: 2014-05-04' version() 'Sage Version 6.3.beta4, Release Date: 2014-06-19'

cjsh gravatar imagecjsh ( 2014-07-23 07:13:53 -0600 )edit

@cjsh: I think the next Sage upgrade on SageMathCloud will be done when Sage 6.3 is out (which should be in a few weeks). But everything in my answer works in Sage 6.2.rc2 too.

slelievre gravatar imageslelievre ( 2014-07-23 08:28:40 -0600 )edit

than you very much! than all sage people! than god!

cjsh gravatar imagecjsh ( 2014-07-24 06:12:04 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-07-22 07:08:39 -0600

Seen: 90 times

Last updated: Jul 23 '14