Oops replied too soon to see your message Prof. Stein. I tried the command you suggested and I think it worked (if what it output was the LaTeX code for the matrices .. that's what it looked like)
Thanks for all the prompt replies. Luke On Jan 29, 12:42 am, "luke.stan...@gmail.com" <luke.stan...@gmail.com> wrote: > Aha! Thankyou! I was inputting HeilbronnCremonaList(11) when what I > should have been typing was HeilbronnCremona(11).to_list() > > I got the first input from William Stein's book "Modular Forms, a > Computational Approach" 2007, pg. 49 states > > "The command HeilbronnCremonaList(p), for p prime outputs the list of > matrices from Algorithm 3.16" > > So I don't feel like a complete idiot but was there any way to know > the correct command without asking? I know you said it wasn't > documented but still if I could avoid this in future that'd be good. > > Luke > > On Jan 29, 12:16 am, mabshoff <michael.absh...@mathematik.uni- > > dortmund.de> wrote: > > On Jan 28, 2:34 pm, "luke.stan...@gmail.com" <luke.stan...@gmail.com> > > wrote: > > > Hi Luke, > > > > I've just d/l and installed SAGE. I want to use the > > > HeilbronnCremonaList() command but when I do I get the error message: > > > > Traceback (most recent call last): > > > File "<stdin>", line 1, in <module> > > > File "/home/notebook/sage_notebook/worksheets/admin/0/code/15.py", > > > line 7, in <module> > > > HeilbronnCremonaList(_sage_const_11 ) > > > File "/usr/local/sage/local/lib/python2.5/site-packages/ > > > zope.interface-3.3.0-py2.5-linux-i686.egg/", line 1, in <module> > > > > NameError: name 'HeilbronnCremonaList' is not defined > > > > I'm using version 3.2.3 on WinXP via VMware. Tbh I don't have much/any > > > programming experience so the soln may or may not simple. > > > Not sure what you are doing, but you need to pass an integer: > > > sage: HeilbronnCremona(2).to_list() > > [[1, 0, 0, 2], [2, 0, 0, 1], [2, 1, 0, 1], [1, 0, 1, 2]] > > > Unfortunately HeilbronnCremona() is not documented: > > > sage: HeilbronnCremona? > > Type: type > > Base Class: <type 'type'> > > String Form: <type 'sage.modular.modsym.heilbronn.HeilbronnCremona'> > > Namespace: Interactive > > File: /scratch/mabshoff/sage-3.3.alpha3/local/lib/python2.5/site- > > packages/sage/modular/modsym/heilbronn.so > > Docstring: > > x.__init__(...) initializes x; see x.__class__.__doc__ for > > signature > > > > Thanks guys, > > > > Luke > > > Cheers, > > > Michael --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---