[sage-devel] Re: sage-2.11 is out!

2008-04-02 Thread Justin C. Walker
On Mar 30, 2008, at 19:37 , William Stein wrote: Hello folks, Sage 2.11 has been released on March 30th, 2008. It is available at http://sagemath.org/download.html Here is the result for Mac OS X, 10.4.11 (Core 2 Duo, -j2). The - tp2 testing got one failure, indicated below.

[sage-devel] Re: _fast_float_ for symbolic equalities/inequalities

2008-04-02 Thread Robert Bradshaw
On Apr 1, 2008, at 9:15 PM, Jason Grout wrote: I'm trying to add _fast_float_ functionality to SymbolicEquation objects. However, a perusal of the sage.ext.fast_eval.pyx file seems to indicate that the operations , =, ==, =, , and != are not supported by the fast_float machinery. Is

[sage-devel] Re: Output Form versus Internal Structure

2008-04-02 Thread David Roe
That's the plan. Though I'll have to ask around to figure out how to determine if _repr_ is being called from the notebook or iPython. David On Tue, Apr 1, 2008 at 7:01 PM, Dan Drake [EMAIL PROTECTED] wrote: Robert Bradshaw wrote: Thanks for your input. We are considering a more advanced

[sage-devel] Re: _fast_float_ for symbolic equalities/inequalities

2008-04-02 Thread Jason Grout
Jason Grout wrote: I'm trying to add _fast_float_ functionality to SymbolicEquation objects. However, a perusal of the sage.ext.fast_eval.pyx file seems to indicate that the operations , =, ==, =, , and != are not supported by the fast_float machinery. Is that correct? If so, how do I

[sage-devel] Re: Output Form versus Internal Structure

2008-04-02 Thread Jason Grout
David Roe wrote: That's the plan. Though I'll have to ask around to figure out how to determine if _repr_ is being called from the notebook or iPython. David There is a variable EMBEDDED_MODE that you need to check. Grep the source for EMBEDDED_MODE to see how it is used. Jason

[sage-devel] Re: _fast_float_ for symbolic equalities/inequalities

2008-04-02 Thread Jason Grout
Jason Grout wrote: Robert Bradshaw wrote: On Apr 1, 2008, at 9:15 PM, Jason Grout wrote: I'm trying to add _fast_float_ functionality to SymbolicEquation objects. However, a perusal of the sage.ext.fast_eval.pyx file seems to indicate that the operations , =, ==, =, , and != are not

[sage-devel] Re: sdmp - closed-source library for sparse multivariate polynomial arithmetic

2008-04-02 Thread Roman Pearce
On Apr 1, 11:36 pm, Michael Brickenstein [EMAIL PROTECTED] wrote: I don't find it very impressive, posting some benchmark for just one example. There are 4 benchmarks in http://www.cecm.sfu.ca/~rpearcea/sdmp/2008_04_01/benchmarks.txt 6376 x 46376 = 635376 terms (dense, 4 variables) 26599 x

[sage-devel] Re: sdmp - closed-source library for sparse multivariate polynomial arithmetic

2008-04-02 Thread Michael Brickenstein
Hi Roman! Sorry, I just saw the first problem. The coefficients for each bucket are disabled at the moment. We put some work in it, but we had the problem, that every modification to Singular: Polynomial ring over rings (instead fields), noncommutative polynomial rings (this was the guilty one)

[sage-devel] Re: Output Form versus Internal Structure

2008-04-02 Thread William Stein
On Tue, Apr 1, 2008 at 11:28 PM, David Roe [EMAIL PROTECTED] wrote: That's the plan. Though I'll have to ask around to figure out how to determine if _repr_ is being called from the notebook or iPython. In most cases the base class __repr__ just calls _repr_, and the notebook and/or

[sage-devel] Re: Sage 3.0.alpha0 released

2008-04-02 Thread Alex Ghitza
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Builds and tests without problems on 32-bit machine running Gentoo. Alex mabshoff wrote: | Hello folks, | | the Sage 3.0 release cycle has started. So far we have merged | | * the new Crystal code | * PolyBoRi 0.3.1 | * plenty of Debian build

[sage-devel] Re: Sage 3.0.alpha0 released

2008-04-02 Thread William Stein
On Wed, Apr 2, 2008 at 6:17 AM, Alex Ghitza [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Builds and tests without problems on 32-bit machine running Gentoo. * Works on sage.math. * integer.pyx fails on meccah (32-bit athlon): sage -t

[sage-devel] Re: Sage 3.0.alpha0 released

2008-04-02 Thread mabshoff
On Apr 2, 3:32 pm, William Stein [EMAIL PROTECTED] wrote: On Wed, Apr 2, 2008 at 6:17 AM, Alex Ghitza [EMAIL PROTECTED] wrote:  -BEGIN PGP SIGNED MESSAGE-  Hash: SHA1  Builds and tests without problems on 32-bit machine running Gentoo. * Works on sage.math. * integer.pyx

[sage-devel] Re: Sage 3.0.alpha0 released

2008-04-02 Thread William Stein
On Wed, Apr 2, 2008 at 6:45 AM, mabshoff [EMAIL PROTECTED] wrote: On Apr 2, 3:32 pm, William Stein [EMAIL PROTECTED] wrote: On Wed, Apr 2, 2008 at 6:17 AM, Alex Ghitza [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Builds and tests without

[sage-devel] derivatives of elements of fraction fields

2008-04-02 Thread Michel
Hi, A short remark. It seems that taking the derivative of an element of a fraction field is not supported at this point. This feels somewhat inconsistent (tested with sage 2.10.4) sage: R=QQ['x'] sage: x=R.gen() sage: derivative(x^2,x) 2*x sage: derivative(1/x,x)

[sage-devel] Re: Experimental Gröbner Bases over Rin gs via Singular CVS

2008-04-02 Thread William Stein
On Wed, Apr 2, 2008 at 8:41 AM, Martin Albrecht [EMAIL PROTECTED] wrote: Hi there, while conversing with Hans Schönemann about GCC 4.3 support for Singular the topic of shipping CVS code of Singular came up. The CVS version of Singular has experimental (and thus possibly broken) support

[sage-devel] Re: WIMS

2008-04-02 Thread Jaap Spies
David Kohel wrote: I learned of WIMS (http://wims.unice.fr/) by virtue of the announcement of a new lecturer position here in Luminy, who is supposed to be responsible for computer-based teaching with WIMS (http://wims.unice.fr/). It overlaps many of the teaching- related goals of sage.

[sage-devel] Re: bug in factoring over number fields?

2008-04-02 Thread John Cremona
You are right. As a list, F has three elements of which the first is (2,1) -- i.e. 2 to the power 1 -- but when the list is converted to a Factorization type this first factor is left alone instead of being converted into the __unit part. John On 02/04/2008, David Harvey [EMAIL PROTECTED]

[sage-devel] Re: WIMS

2008-04-02 Thread mabshoff
On Apr 2, 6:44 pm, Jaap Spies [EMAIL PROTECTED] wrote: David Kohel wrote: I learned of WIMS (http://wims.unice.fr/) by virtue of the announcement of a new lecturer position here in Luminy, who is supposed to be responsible for computer-based teaching with WIMS

[sage-devel] Re: _fast_float_ for symbolic equalities/inequalities

2008-04-02 Thread Robert Bradshaw
On Apr 1, 2008, at 11:59 PM, Jason Grout wrote: Robert Bradshaw wrote: On Apr 1, 2008, at 9:15 PM, Jason Grout wrote: I'm trying to add _fast_float_ functionality to SymbolicEquation objects. However, a perusal of the sage.ext.fast_eval.pyx file seems to indicate that the operations ,

[sage-devel] Re: quaternions

2008-04-02 Thread Justin C. Walker
On Mar 27, 2008, at 4:03 PM, Nick Alexander wrote: [*] Some methods are shown due to inheritance, and might actually not apply in a specific situation. If this is true, there is a problem with the class hierarchy that should be complained about, loudly. [+] Documentation: the best

[sage-devel] Cell splitting/merging in notebook

2008-04-02 Thread Andrey Novoseltsev
Is it possible to realize some convenient and fast (in the sense of keyboard use) cell splitting/merging? It seems to me that now it involves manual copying of a part of code and creating/removing a cell, or editing the text representation. I really liked the ability to do it in Maple (back when

[sage-devel] Re: _fast_float_ for symbolic equalities/inequalities

2008-04-02 Thread Jason Grout
Robert Bradshaw wrote: On Apr 1, 2008, at 11:59 PM, Jason Grout wrote: Robert Bradshaw wrote: On Apr 1, 2008, at 9:15 PM, Jason Grout wrote: I'm trying to add _fast_float_ functionality to SymbolicEquation objects. However, a perusal of the sage.ext.fast_eval.pyx file seems to indicate

[sage-devel] bool() and SymbolicEquation

2008-04-02 Thread Jason Grout
Currently, False is returned when bool() is called on a SymbolicEquation when the equation is really false *or* when it is not known whether it is true or false. This, of course, makes a return value of False pretty meaningless. Can I change this (per cwitty's suggestion) so that if it is

[sage-devel] Re: bool() and SymbolicEquation

2008-04-02 Thread Timothy Clemans
+1 On Wed, Apr 2, 2008 at 12:12 PM, Jason Grout [EMAIL PROTECTED] wrote: Currently, False is returned when bool() is called on a SymbolicEquation when the equation is really false *or* when it is not known whether it is true or false. This, of course, makes a return value of False

[sage-devel] Notebook servers

2008-04-02 Thread Justin C. Walker
Hi, all, It appears that running multiple notebook servers is not really supported. Is that true? If I start a notebook server from a sage instance, and there is already one running, I get a complaint that implies I can do this by trying again with pidfile and logfile set to different

[sage-devel] Re: Notebook servers

2008-04-02 Thread Justin C. Walker
On Apr 2, 2008, at 12:31 PM, Timothy Clemans wrote: You can run different notebooks from different directories. I've certainly done this in the past. notebook(directory='Mary',port=9876) notebook(directory='Tables',port=8765) Argh! Thanks! I looked right past that in the error message

[sage-devel] Re: Cell splitting/merging in notebook

2008-04-02 Thread boothby
I'm sick at home today, and this actually has a braindead solution that I might be able to implement in my current (braindead) state. What hotkeys do you want? On Wed, 2 Apr 2008, Andrey Novoseltsev wrote: Is it possible to realize some convenient and fast (in the sense of keyboard use)

[sage-devel] Re: bool() and SymbolicEquation

2008-04-02 Thread Jason Grout
Timothy Clemans wrote: +1 On Wed, Apr 2, 2008 at 12:12 PM, Jason Grout [EMAIL PROTECTED] wrote: Currently, False is returned when bool() is called on a SymbolicEquation when the equation is really false *or* when it is not known whether it is true or false. This, of course, makes a

[sage-devel] Re: Cell splitting/merging in notebook

2008-04-02 Thread David Kohel
Hi, On the subject of notebook features: One feature that would be really nice is to have distinct text cells, in html or even better latex mode. A text cell could created by a hot key (say cntrl-t) in edit mode which displays the source latex or html, then toggled out of edit mode to display

[sage-devel] Re: Cell splitting/merging in notebook

2008-04-02 Thread Nick Alexander
On 2-Apr-08, at 2:53 PM, David Kohel wrote: Hi, On the subject of notebook features: One feature that would be really nice is to have distinct text cells, in html or even better latex mode. +1 -- I was surprised that I couldn't figure out how to make a cell just text in the notebook

[sage-devel] Re: Cell splitting/merging in notebook

2008-04-02 Thread William Stein
On Wed, Apr 2, 2008 at 2:53 PM, David Kohel [EMAIL PROTECTED] wrote: Hi, On the subject of notebook features: One feature that would be really nice is to have distinct text cells, in html or even better latex mode. A text cell could created by a hot key (say cntrl-t) in edit

[sage-devel] Re: bug in factoring over number fields?

2008-04-02 Thread David Harvey
This is now http://trac.sagemath.org/sage_trac/ticket/2780 david On Apr 2, 2008, at 12:57 PM, John Cremona wrote: You are right. As a list, F has three elements of which the first is (2,1) -- i.e. 2 to the power 1 -- but when the list is converted to a Factorization type this first factor

[sage-devel] Re: Cell splitting/merging in notebook

2008-04-02 Thread William Stein
On Wed, Apr 2, 2008 at 2:58 PM, Nick Alexander [EMAIL PROTECTED] wrote: On 2-Apr-08, at 2:53 PM, David Kohel wrote: Hi, On the subject of notebook features: One feature that would be really nice is to have distinct text cells, in html or even better latex mode. +1

[sage-devel] Re: Cell splitting/merging in notebook

2008-04-02 Thread alex clemesha
On Wed, Apr 2, 2008 at 3:01 PM, William Stein [EMAIL PROTECTED] wrote: On Wed, Apr 2, 2008 at 2:58 PM, Nick Alexander [EMAIL PROTECTED] wrote: On 2-Apr-08, at 2:53 PM, David Kohel wrote: Hi, On the subject of notebook features: One feature that would be really

[sage-devel] Re: Cell splitting/merging in notebook

2008-04-02 Thread Mike Hansen
So in summary, there are people *very seriously* working on the notebook, in the above mentioned form :) Hi Alex, Can Knoboo work with Sage's pexpect interfaces, or is it a Python-only thing? --Mike --~--~-~--~~~---~--~~ To post to this group, send email to

[sage-devel] Re: Cell splitting/merging in notebook

2008-04-02 Thread Jason Grout
alex clemesha wrote: On Wed, Apr 2, 2008 at 3:01 PM, William Stein [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On Wed, Apr 2, 2008 at 2:58 PM, Nick Alexander [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On 2-Apr-08, at 2:53 PM, David Kohel

[sage-devel] Re: Cell splitting/merging in notebook

2008-04-02 Thread alex clemesha
On Wed, Apr 2, 2008 at 4:39 PM, Mike Hansen [EMAIL PROTECTED] wrote: So in summary, there are people *very seriously* working on the notebook, in the above mentioned form :) Hi Alex, Can Knoboo work with Sage's pexpect interfaces, or is it a Python-only thing? Sure, Pexpect is just a

[sage-devel] Re: Cell splitting/merging in notebook

2008-04-02 Thread alex clemesha
On Wed, Apr 2, 2008 at 4:53 PM, Jason Grout [EMAIL PROTECTED] wrote: alex clemesha wrote: On Wed, Apr 2, 2008 at 3:01 PM, William Stein [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On Wed, Apr 2, 2008 at 2:58 PM, Nick Alexander [EMAIL PROTECTED] mailto:[EMAIL

[sage-devel] Re: Cell splitting/merging in notebook

2008-04-02 Thread alex clemesha
On Wed, Apr 2, 2008 at 5:23 PM, Jaap Spies [EMAIL PROTECTED] wrote: Jason Grout wrote: Incidentally, recently I was trying very hard to remember the name of this project, but couldn't and I couldn't find it when searching, several times. What's the reasoning behind the name? (If I have

[sage-devel] Re: Cell splitting/merging in notebook

2008-04-02 Thread Jason Grout
alex clemesha wrote: Just curious: does Knoboo implement anything like the new @interact functionality? That is a big plus for me in the current Sage notebook. I agree that the @interact is awesome, but it is pretty badly coupled to the other pieces of the Sage notebook and

[sage-devel] multivariate polys over residue fields of number fields are broken

2008-04-02 Thread David Harvey
This example from Genya Zaytman: sage: F1.u = NumberField(x^6 + 6*x^5 + 124*x^4 + 452*x^3 + 4336*x^2 + 8200*x + 42316) sage: reduct_id = F1.factor_integer(47)[0][0] sage: Rf = F1.residue_field(reduct_id) # = GF(47^3) sage: R1.X,Y = PolynomialRing(Rf) sage: ubar = Rf(u) sage: I =

[sage-devel] Re: _fast_float_ for symbolic equalities/inequalities

2008-04-02 Thread Robert Bradshaw
On Apr 2, 2008, at 12:05 PM, Jason Grout wrote: Robert Bradshaw wrote: Thanks. I put a comment up on trac, but it boils down to sage: f = (x == 1) sage: g = (1 == x) sage: bool(f+g) True sage: ff = f._fast_float_('x') + g._fast_float_('x') sage: ff(0) 0.0 but I think piecewise

[sage-devel] Re: _fast_float_ for symbolic equalities/inequalities

2008-04-02 Thread Jason Grout
Robert Bradshaw wrote: On Apr 2, 2008, at 12:05 PM, Jason Grout wrote: Robert Bradshaw wrote: Thanks. I put a comment up on trac, but it boils down to sage: f = (x == 1) sage: g = (1 == x) sage: bool(f+g) True sage: ff = f._fast_float_('x') + g._fast_float_('x') sage: ff(0) 0.0

[sage-devel] Re: Cell splitting/merging in notebook

2008-04-02 Thread Andrey Novoseltsev
How about Ctrl+s split at the current line and Ctrl+m merge with the previous one? (Or next one, I am not sure which one is more natural.) On Apr 2, 2:08 pm, [EMAIL PROTECTED] wrote: I'm sick at home today, and this actually has a braindead solution that I might be able to implement in my