[sage-support] Re: moving spkg between versions - is it possible - QuantLib

2009-02-20 Thread tomanizer
If I remember correctly it took around 14 hours, but my memory might not be reliable. I will try to build it for the new Sage version and let you know how long it takes. What do we need to do to make QuantLib a supported package? I am interested in helping, but I am not a Python/Sage genius (yet).

[sage-support] Re: moving spkg between versions - is it possible - QuantLib

2009-02-20 Thread mabshoff
On Feb 20, 4:10 am, tomanizer wrote: Hi, > If I remember correctly it took around 14 hours, but my memory might > not be reliable. Ouch. > I will try to build it for the new Sage version and let you know how > long it takes. Yeah, it needs way too much RAM to build on smaller systems, i.e.

[sage-support] Re: OverflowError: math range error in matplotlib

2009-02-20 Thread M. Yurko
xs was the list of x coordinates which I created with range (1,1,100). On Feb 19, 9:03 pm, William Stein wrote: > On Thu, Feb 19, 2009 at 3:46 PM, M. Yurko wrote: > > > First off, I know that this is specificaly a SAGE issue, but I can't > > find a matplotlib list, so I'm hoping that someon

[sage-support] Re: OverflowError: math range error in matplotlib

2009-02-20 Thread David Joyner
I don't know if this is helpful or not but here is what I get (ubuntu 8.04, sage-3.3.alpha1): sage: import pylab sage: pylab.clf() sage: pylab.figure(1) sage: xs = range(1,1,100) sage: pylab.plot(xs, bits24_original, label="$S_n$") ---

[sage-support] Re: OverflowError: math range error in matplotlib

2009-02-20 Thread mabshoff
On Feb 20, 5:12 am, David Joyner wrote: Hi David, > I don't know if this is helpful or not but here is what I get > (ubuntu 8.04, sage-3.3.alpha1): > > sage: import pylab > sage: pylab.clf() > sage: pylab.figure(1) > > sage: xs = range(1,1,100) > sage: pylab.plot(xs, bits24_original, lab

[sage-support] Re: OverflowError: math range error in matplotlib

2009-02-20 Thread Jason Grout
David Joyner wrote: > I don't know if this is helpful or not but here is what I get > (ubuntu 8.04, sage-3.3.alpha1): > > > sage: import pylab > sage: pylab.clf() > sage: pylab.figure(1) > > sage: xs = range(1,1,100) > sage: pylab.plot(xs, bits24_original, label="$S_n$") > -

[sage-support] bug in random_matrix?

2009-02-20 Thread pong
I expect to get a 3 x 2 integer matrix with entries between -10 to 10 by typing sage: A =random_matrix(ZZ,3,2, x in [-10..10]) sage: A but what I got is [16 1] [-2 2] [ 0 0] so why 16 appears? It is a bug? if it's just a misunderstanding of the command from me, sorry. --~--~-~--~-

[sage-support] Re: bug in random_matrix?

2009-02-20 Thread William Stein
On Fri, Feb 20, 2009 at 7:57 AM, pong wrote: > > I expect to get a 3 x 2 integer matrix with entries between -10 to 10 > by typing > > sage: A =random_matrix(ZZ,3,2, x in [-10..10]) > sage: A > > but what I got is > > [16 1] > [-2 2] > [ 0 0] > > so why 16 appears? It is a bug? if it's just a

[sage-support] Re: moving spkg between versions - is it possible - QuantLib

2009-02-20 Thread William Stein
On Fri, Feb 20, 2009 at 4:29 AM, mabshoff wrote: > > > > On Feb 20, 4:10 am, tomanizer wrote: > > Hi, > >> If I remember correctly it took around 14 hours, but my memory might >> not be reliable. > > Ouch. Holy crud. 14 hours! Gees. > >> I will try to build it for the new Sage version and le

[sage-support] Bug in TermOrder?

2009-02-20 Thread Jacob
Hi, >From reading the documentation of the TermOrder command, it looks like if I want to use a term order not defined in SAGE, I should be able to make my term order a string that can be passed to Singular. This works for some term orderings, but not for those that have commas in their definitio

[sage-support] Re: Using sage as default python distribution

2009-02-20 Thread Art
On Feb 20, 4:04 am, Carl Witty wrote: > On Feb 19, 3:54 pm, Art wrote: > > > I would like to use the sage distribution as my default python > > distribution transparently. If I type python at the command line, I > > would like sage -python to be called and #/usr/bin/env python at the > > start o

[sage-support] Re: OverflowError: math range error in matplotlib

2009-02-20 Thread M. Yurko
Sorry, I forgot to post bits24_originial. Its a list of values which were generated completely separately. It is [9, 155, 276, 391, 507, 618, 729, 839, 948, 1052, 1161, 1269, 1376, 1484, 1591, 1699, 1800, 1907, 2014, 2120, 2227, 2327, 2433, 2540, 2646, 2752, 2851, 2957, 3064, 3170, 3276, 3374, 348

[sage-support] Re: polynomial coercion bug?

2009-02-20 Thread Alex Raichev
Sweet! Thanks, Carl. Alex On Feb 20, 8:08 pm, Carl Witty wrote: > On Feb 19, 10:16 pm, Carl Witty wrote: > > > There's a bug.  And, now that you've pointed out the bug, I figured > > out how to crash Sage with a segmentation fault; so it's a serious > > bug.  Thanks for reporting it!  This bu

[sage-support] Using Mathematica Remotely (with password)

2009-02-20 Thread Evan Fuller
I'd like to be able to have SAGE use the copy of mathematica on my department server, which requires SSH with password. Looking at previous posts, it sounds like there is no way to do this without setting up something password-less. I'm hoping there has been an improvement on this in the 18 mont

[sage-support] Re: Bug in TermOrder?

2009-02-20 Thread Martin Albrecht
On Friday 20 February 2009, Jacob wrote: > Hi, > > From reading the documentation of the TermOrder command, it looks like > if I want to use a term order not defined in SAGE, I should be able to > make my term order a string that can be passed to Singular. This > works for some term orderings, bu

[sage-support] Re: OverflowError: math range error in matplotlib

2009-02-20 Thread David Joyner
On Fri, Feb 20, 2009 at 4:53 PM, M. Yurko wrote: > > Sorry, I forgot to post bits24_originial. Its a list of values which > were generated completely separately. It is [9, 155, 276, 391, 507, > 618, 729, 839, 948, 1052, 1161, 1269, 1376, > 1484, 1591, 1699, 1800, 1907, 2014, 2120, 2227, 2327, 243

[sage-support] Re: Using Mathematica Remotely (with password)

2009-02-20 Thread William Stein
On Fri, Feb 20, 2009 at 4:40 PM, Evan Fuller wrote: > > I'd like to be able to have SAGE use the copy of mathematica on my > department server, which requires SSH with password. Looking at > previous posts, it sounds like there is no way to do this without > setting up something password-less.

[sage-support] Re: OverflowError: math range error in matplotlib

2009-02-20 Thread M. Yurko
I am running Sage 3.2.3 on Ubuntu 8.10 64-bit on an Intel Core 2 Duo. I have tried a few other plots and anything that directly accesses matplotlib fails with the same error. I'm going to try and reinstall since this is a new issue so something may have gotten corrupted. On Feb 20, 9:55 pm, David

[sage-support] Re: re Stepen Lucas's "Integral approximations to Pi with nonnegative integrands"

2009-02-20 Thread Marshall Hampton
I tried to give this a shot but got hung up by requests by maxima for additional assumptions; it wants to know the sign of the variable a, but from skimming that paper it looks like we don't want to assume a particular sign for a,b, or c. I guess it might be possible to exhaustively do all sign c

[sage-support] Re: re Stepen Lucas's "Integral approximations to Pi with nonnegative integrands"

2009-02-20 Thread mabshoff
On Feb 20, 10:40 pm, Marshall Hampton wrote: Hi, > I tried to give this a shot but got hung up by requests by maxima for > additional assumptions; it wants to know the sign of the variable a, > but from skimming that paper it looks like we don't want to assume a > particular sign for a,b, or