[sage-support] what happens when I load a cython file?

2012-03-04 Thread Jonathan Bober
I've learned that I can easily build and use a cython file by just typing "load filename.pyx" at the Sage command prompt (and this is wonderful). I'm guessing that when I do this, Sage automatically adds some include files or compilation flags or something, because it works and I don't have to defi

[sage-support] Re: GNU Octave and Sage?

2012-03-04 Thread William Stein
On Sunday, March 4, 2012, Irucka Embry wrote: > Hi William Stein, how are you? > > Why doesn't Sage use GNU Octave as one of its packages anymore? I remember working with Sage years ago when Octave was included as a package. I checked online today and Octave is no longer listed as a package. > Oc

[sage-support] Re: CSV file

2012-03-04 Thread Nils Bruin
On Mar 4, 1:14 am, Robert Bradshaw wrote: > I think it's fair to test for strings first, trying to parse, before > testing if it's an iterator. This is consistant with many other > objects that try to "parse" their string representations. > > sage: ZZ['x']([1,2,3]) > 3*x^2 + 2*x + 1 > sage: ZZ['x'

Re: [sage-support] Re: CSV file

2012-03-04 Thread Robert Bradshaw
On Fri, Mar 2, 2012 at 6:19 PM, Nils Bruin wrote: > On Mar 2, 12:28 am, Robert Bradshaw > wrote: >> The difficulty with accepting an iterator (of strings) is that it is >> unclear if each item corresponds to a row or an element. But I would >> be in favor of rather liberal string parsing, so one