[sage-devel] rational points in projective space

2008-01-10 Thread benjamin antieau
Below is a transcript from a SAGE session. I was playing around checking to make sure that a modification of the rational_points code gave the right answers when I noticed that there were repeats in the lists returned by rational_points(). Below I iterate through the list of rational points and

[sage-devel] Re: QEPCAD spkg

2008-01-10 Thread mabshoff
On Jan 10, 8:50 am, Jason Grout [EMAIL PROTECTED] wrote: Hi Jason, Thanks to Robert Bradshaw's tremendous help, we have the start of a QEPCAD spkg for linux posted athttp://trac.sagemath.org/sage_trac/ticket/772 The spkg does not include source because we haven't sorted out licensing

[sage-devel] Fwd: SAGE in Iran

2008-01-10 Thread William Stein
Hi Sage-Devel, Some of you might find this interesting -- it's an email I just got from a professor in Iran who is very excited about Sage and plans to run a workshop there on Sage soon. Write to him if you have any thoughts. -- William -- Forwarded message -- From: Amir

[sage-devel] SCREMS Proposal

2008-01-10 Thread William Stein
Hi, In 12 hours I will submit the SCREMS proposal I mentioned a few days ago, which would get us two very nice 128GB 16 x 3Ghz servers. I've substantially updated the proposal, including a new major section by the E8 ATLAS group, actually filling in the budget and summary, etc. It's here:

[sage-devel] Re: SCREMS Proposal

2008-01-10 Thread mabshoff
On Jan 10, 10:37 am, William Stein [EMAIL PROTECTED] wrote: Hi, In 12 hours I will submit the SCREMS proposal I mentioned a few days ago, which would get us two very nice 128GB 16 x 3Ghz servers. I've substantially updated the proposal, including a new major section by the E8 ATLAS

[sage-devel] Re: inner product of complex vectors

2008-01-10 Thread Fabio Tonti
I don't have an answer to Brandon's remark, but John, should this be in Trac? On Jan 6, 2008 8:59 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I realize this is a bit naive (and not completely related to the OP) but as it currently stands the CC used in sage is essentially a subfield of

[sage-devel] Re: SCREMS Proposal

2008-01-10 Thread William Stein
On Jan 10, 2008 2:45 AM, mabshoff [EMAIL PROTECTED] wrote: On Jan 10, 10:37 am, William Stein [EMAIL PROTECTED] wrote: Hi, In 12 hours I will submit the SCREMS proposal I mentioned a few days ago, which would get us two very nice 128GB 16 x 3Ghz servers. I've substantially

[sage-devel] Re: rational points in projective space

2008-01-10 Thread William Stein
On Jan 10, 2008 12:21 AM, benjamin antieau [EMAIL PROTECTED] wrote: Below is a transcript from a SAGE session. I was playing around checking to make sure that a modification of the rational_points code gave the right answers when I noticed that there were repeats in the lists returned by

[sage-devel] Re: SCREMS Proposal

2008-01-10 Thread mabshoff
On Jan 10, 11:49 am, William Stein [EMAIL PROTECTED] wrote: On Jan 10, 2008 2:45 AM, mabshoff [EMAIL PROTECTED] wrote: On Jan 10, 10:37 am, William Stein [EMAIL PROTECTED] wrote: Hi, In 12 hours I will submit the SCREMS proposal I mentioned a few days ago, which would get

[sage-devel] Re: implausibly old time stamp in optional package gap_packages-4.4.10_2.spkg

2008-01-10 Thread David Joyner
On Jan 10, 2008 1:46 AM, mabshoff [EMAIL PROTECTED] wrote: On Jan 9, 8:34 pm, Kate [EMAIL PROTECTED] wrote: When using the optional package 'gap_packages-4.4.10_2.spkg', if I do mv gap_packages-4.4.10_2.spkg gap_packages-4.4.10_2.tar.bz2 bunzip2 gap_packages-4.4.10_2.tar.bz2

[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-10 Thread pgdoyle
On Jan 8, 11:09 pm, William Stein [EMAIL PROTECTED] wrote: Just to break up the tension in this thread a little bit, here's my idea of what it might look like: http://sage.math.washington.edu/home/was/tmp/architecture_en.jpg Factoring Sage into a front end communicating with a Sage

[sage-devel] Re: SCREMS Proposal

2008-01-10 Thread Alex Ghitza
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi William, I'm sending you a bunch of small corrections, mostly minor, but the kind of thing that might irk grant proposal readers :) It looks impressive, and I hope it goes through. Cheers, Alex In Project Summary, third paragraph: greatly

[sage-devel] Re: inner product of complex vectors

2008-01-10 Thread David Kohel
Dear John (et al.), I think the inner product should be the same irrespective of the field. The inner product as dot product is relevant to the study of quadratic forms, conics, and orthogonal groups. For instance finding a rational point on the conic x^2 + y^2 + z^2 = 0 over CC is equivalent

[sage-devel] Re: Sage 2.10.alpha1 released

2008-01-10 Thread Jaap Spies
mabshoff wrote: Hi, Sage 2.10.alpha1 has been release. I guess the highlight is the Pentium M takes forever to compile fix by Paul Zimmermann. Josh and I also updated numpy and there was a whole bunch of patches that fix some long standing issues. More details are below. Tarball [197MB]

[sage-devel] Re: Block matrices?

2008-01-10 Thread didier deshommes
On Jan 9, 2008 3:23 AM, Robert Bradshaw [EMAIL PROTECTED] wrote: http://sagetrac.org/sage_trac/ticket/1732 2 questions about the patch: * Why is this function named block_sum? What are we summing? * Why are we limited to 4 arguments? Ideally, I would love to pass a list to this function and

[sage-devel] Re: Enthought mayavi2 as a library

2008-01-10 Thread Jaap Spies
Fernando Perez wrote: Howdy, On Jan 8, 2008 10:43 AM, mabshoff [EMAIL PROTECTED] wrote: Ok, the culprit points to a cleanup function of m4ri, which under normal conditions is called only once. I am not seeing the above issue under valgrdind with pure Sage 2.10.alpha0, but as I just

[sage-devel] Re: Sage 2.10.alpha1 released

2008-01-10 Thread mabshoff
On Jan 10, 4:18 pm, Jaap Spies [EMAIL PROTECTED] wrote: mabshoff wrote: Hi, Hi Jaap, Sage 2.10.alpha1 has been release. I guess the highlight is the Pentium M takes forever to compile fix by Paul Zimmermann. Josh and I also updated numpy and there was a whole bunch of patches that

[sage-devel] loading integer or float data from file into a matrix

2008-01-10 Thread myFalc
Hello! I'm new to sage and I already searched for a solution on the web, but couldn't find any. At the moment I'm trying to load a file into sage and put its data into a matrix. The file spans a matrix of thousands of float values. columns separated by whitespaces and rows separated by newlines.

[sage-devel] Re: loading integer or float data from file into a matrix

2008-01-10 Thread David Roe
One way to do it is to use the Python functions on strings. For example, if you want to use the real double field (RDF) and matrix_data is your string, the following should do what you want: M = matrix(RDF, [b.split() for b in matrix_data.split('\n')]) The split method of a string creates a list

[sage-devel] Re: Block matrices?

2008-01-10 Thread David Joyner
I agree with Didier's comments. Judging from emails to the GAP support list (Which also has such a function), a block matrix function will be frequently used. I think it should be well-documented. On 1/10/08, didier deshommes [EMAIL PROTECTED] wrote: On Jan 9, 2008 3:23 AM, Robert Bradshaw

[sage-devel] Re: Sage 2.10.alpha1 released

2008-01-10 Thread Jaap Spies
mabshoff wrote: On Jan 10, 4:18 pm, Jaap Spies [EMAIL PROTECTED] wrote: mabshoff wrote: The following tests failed: sage -t devel/sage-main/sage/rings/polynomial/polynomial_element.pyx Please apply the patch attached to #1749 and report back. Works for me, on FC8 too.

[sage-devel] Re: Block matrices?

2008-01-10 Thread Robert Bradshaw
These sound like good suggestions, I'll re-implement the richer functionality. On Jan 10, 2008, at 7:50 AM, didier deshommes wrote: On Jan 9, 2008 3:23 AM, Robert Bradshaw [EMAIL PROTECTED] wrote: http://sagetrac.org/sage_trac/ticket/1732 2 questions about the patch: * Why is this

[sage-devel] Re: loading integer or float data from file into a matrix

2008-01-10 Thread boothby
numpy saves the day. import numpy A = numpy.loadtxt('foo.data') #A is a float array B = M.astype(int) #B is an int array M = Matrix(RDF, list(A)) #M is a RDF matrix N = Matrix(ZZ, list(B))#N is an Integer matrix On Thu, 10 Jan 2008, David Roe wrote: One way to

[sage-devel] Re: loading integer or float data from file into a matrix

2008-01-10 Thread Fernando Perez
On Jan 10, 2008 10:59 AM, [EMAIL PROTECTED] wrote: numpy saves the day. import numpy A = numpy.loadtxt('foo.data') #A is a float array B = M.astype(int) #B is an int array M = Matrix(RDF, list(A)) #M is a RDF matrix N = Matrix(ZZ, list(B))#N is an Integer

[sage-devel] Re: Block matrices?

2008-01-10 Thread William Stein
On Jan 10, 2008 9:16 AM, Robert Bradshaw [EMAIL PROTECTED] wrote: These sound like good suggestions, I'll re-implement the richer functionality. Quick question -- why does this even have to be another function? Couldn't we just expand the functionality of the matrix command, at least in

[sage-devel] Re: Block matrices?

2008-01-10 Thread Harald Schilly
On Jan 10, 8:19 pm, William Stein [EMAIL PROTECTED] wrote: On Jan 10, 2008 9:16 AM, Robert Bradshaw [EMAIL PROTECTED] wrote: These sound like good suggestions, I'll re-implement the richer functionality. Quick question -- why does this even have to be another function? Hi, just my 2

[sage-devel] Re: loading integer or float data from file into a matrix

2008-01-10 Thread Harald Schilly
On Jan 10, 5:42 pm, myFalc [EMAIL PROTECTED] wrote: At the moment I'm trying to load a file into sage and put its data into a matrix. a more general question, at the top of the sage notebook on the left is the data dropdown menu. what exactly does it? also including a matrix or just a

[sage-devel] Creating an SRPM

2008-01-10 Thread gri6507
A while ago I posted in this forum with a problem regarding my efforts on creating an SRPM. At the time, I was told that even though there was no such entity, there was some work being done on a DEB package and that I should definitely continue my efforts. Well, I am pretty close to the

[sage-devel] Re: Creating an SRPM

2008-01-10 Thread mabshoff
On Jan 10, 9:15 pm, gri6507 [EMAIL PROTECTED] wrote: Hi gri6507, A while ago I posted in this forum with a problem regarding my efforts on creating an SRPM. At the time, I was told that even though there was no such entity, there was some work being done on a DEB package and that I should

[sage-devel] Notebook revision info leakage

2008-01-10 Thread Nils Bruin
I posted http://sagetrac.org/sage_trac/ticket/1751 In general, the incredible persistence of the notebook is great. However, it makes deleting things a rather opaque procedure and it is not entirely clear to me what to do to make sure that notebook information has been properly deleted.

[sage-devel] Re: Creating an SRPM

2008-01-10 Thread gri6507
Well, you can skip the build by modifying $SAGE_ROOT/spkg/standard/ deps, but the recommended way would be to add you scripts/config file to the spkgs themselves. For example we fixed a bug yesterday in ATLAS that causes compile time on Pentium M to be very, very excessive. That patch has

[sage-devel] Re: Block matrices?

2008-01-10 Thread Nick Alexander
On 10-Jan-08, at 11:44 AM, Harald Schilly wrote: On Jan 10, 8:19 pm, William Stein [EMAIL PROTECTED] wrote: On Jan 10, 2008 9:16 AM, Robert Bradshaw [EMAIL PROTECTED] wrote: These sound like good suggestions, I'll re-implement the richer functionality. Quick question -- why does this

[sage-devel] Re: inner product of complex vectors

2008-01-10 Thread John Cremona
That all sounds very sensible to me. Why don't you make a trac with most of your previous email in it? I'll be busy with other matters but am happy to have more ideas bounced off me. John On 10/01/2008, David Kohel [EMAIL PROTECTED] wrote: Dear John (et al.), I think the inner product

[sage-devel] Re: Block matrices?

2008-01-10 Thread Harald Schilly
On Jan 10, 10:41 pm, Nick Alexander [EMAIL PROTECTED] wrote: That may be true, but this function is already so overloaded that understanding the code is very difficult. well, what if there are both functions and matrix just calls block_matrix if there are matrix objects in the list of

[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-10 Thread boothby
*wow* This definately has some little issues that I don't like (for example, typing in, which you might want to be the product i*n), but this looks good and works very well. Also, it's very fast. For the record: I will *never* use any interface that requires me to use the mouse for

[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-10 Thread Ted Kosan
Tom wrote: This is a very nice start. But the original discussion was about Javascript vs. Java as a technology for enhancing the notebook. I think that Wiris provides a good example of what Java is capable of in this area but it would be unfair to compare the Javascript equation editor to

[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-10 Thread Robert Bradshaw
On Jan 10, 2008, at 4:14 PM, Ted Kosan wrote: Tom wrote: This is a very nice start. But the original discussion was about Javascript vs. Java as a technology for enhancing the notebook. I think that Wiris provides a good example of what Java is capable of in this area but it would be

[sage-devel] Re: Anyone knows about any regression in gmp-4.2.2?

2008-01-10 Thread Soroosh Yazdani
Hi, I'm actually really excited that you've got as far. Do you have an ebuild that I can try? Cheers, Soroosh On Jan 8, 2008 1:40 PM, Francois [EMAIL PROTECTED] wrote: On Jan 8, 11:55 pm, mabshoff [EMAIL PROTECTED] dortmund.de wrote: On Jan 8, 10:00 am, Francois [EMAIL PROTECTED] wrote:

[sage-devel] SCREMS proposal

2008-01-10 Thread William Stein
Hi, The Screms proposal is now completely done, but it's possible for me to make some last minute minor typo fixes tomorrow morning. I've posted the latest version here: http://wstein.org/grants/screms/ If you notice _any_ typos or mistakes at all, definitely let me know. The proposal is

[sage-devel] Re: Wiris -- something like the Sage notebook sort of

2008-01-10 Thread Ted Kosan
Robert wrote: What is unfinished about it? Just because the author had/has more plans for it doesn't mean it isn't very useable now (more so, I would argue, than a drag-n-drop interface). Mouse positioning of the cursor, cut and paste, multiple fonts, font resizing, multiple equations on one

[sage-devel] Re: DFA package for inclusion

2008-01-10 Thread David Joyner
First, I know essentially 0 about DFAs. However, I noticed that your well-documented Python library contained no examples at all and no references to the literature, except for the blurb: ... See Minimal cover-automata for finite languages for context on DFCAs, and An

[sage-devel] Re: SCREMS proposal

2008-01-10 Thread David Harvey
Here are some random things, nothing terribly important. project_summary.pdf: * Kazhdan-Lusztig-Vogan should use en-dashes not hyphens (this occurs in a few other files too I think, also Sato-Tate, etc. (but not Swinnerton-Dyer!)) * Much of the data that arises out of these projects will