On Dec 9, 2007 8:44 PM, BFJ <[EMAIL PROTECTED]> wrote: > > That was fast! > > Thanks for looking into the problem. I'll be doing more extensive > calculations over the next couple of weeks (I'm porting some Maple > code). I'll let you know if I run into any other problems. I'm excited > about the prospect of a 17-fold performance increase. > > Thanks very much,
You're welcome. Keep us posted. And of course, please consider contributing your code to Sage if it is of at all general interest, or would be a good example. William > > -- > [EMAIL PROTECTED] > > > On Dec 9, 11:34 pm, "Mike Hansen" <[EMAIL PROTECTED]> wrote: > > Hello, > > > > The actual issue was that I forgot to covert symmetrica's LONGINT type > > ( 22 ) over to the correct Sage type. I hadn't actually tested it > > with calculations that got up to numbers that big. I made a ticket > > for this and posted a patch:http://sagetrac.org/sage_trac/ticket/1445 > > It will be in the next version ( 2.9 ) which will come out in about 3 > > days. > > > > --Mike > > > > On Dec 9, 2007 10:01 PM, [EMAIL PROTECTED] > > > > > <[EMAIL PROTECTED]> wrote: > > > > > I'm trying to use the combinatorics features in Sage to do some Chern > > > class calculations. When I run the commands below, I get exceptions > > > that I don't know how to interpret. > > > > > The same calculation in Maple using John Stembridge's SF package > > > completes successfully using roughly 149 MB and 7.08 s CPU time. > > > > > Is this just an issue of memory limitation? If so, can (and how do) I > > > lift the limitation to access more of the 2 GB I have on the machine > > > I'm running this on? > > > > > code follows: > > > I'm using Sage 2.8.15 on an i386 Linux platform. I also tried this on > > > an Intel OS X 10.5 machine with the same result. Also, all the powers > > > of "f" from 1 to 7 work fine. f^8 and higher powers fail. > > > ----------------------------------- > > > > > sage: s=SFASchur(QQ) > > > sage: f=s([2,1]); f > > > s[2, 1] > > > sage: f^8 > > > --------------------------------------------------------------------------- > > > <type 'exceptions.NotImplementedError'> Traceback (most recent call > > > last) > > > > > /Users/benjaminjones/Desktop/sage-2.8.15-osx10.5-intel-i386-Darwin/ > > > <ipython console> in <module>() > > > > > /Users/benjaminjones/Desktop/sage-2.8.15-osx10.5-intel-i386-Darwin/ > > > local/lib/python2.5/site-packages/sage/combinat/sfa.py in > > > __pow__(self, n) > > > 881 z = A(Integer(1)) > > > 882 for i in range(n): > > > --> 883 z *= self > > > 884 return z > > > 885 > > > > > /Users/benjaminjones/Desktop/sage-2.8.15-osx10.5-intel-i386-Darwin/ > > > element.pyx in sage.structure.element.RingElement.__imul__() > > > > > . > > > . > > > . > > > . > > > > > /Users/benjaminjones/Desktop/sage-2.8.15-osx10.5-intel-i386-Darwin/ > > > symmetrica.pxi in sage.libs.symmetrica.symmetrica._py() > > > > > <type 'exceptions.NotImplementedError'>: 22 > > > sage: > > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---