[sage-devel] Re: Serious bug in integral using Maxima?

2009-08-19 Thread Ondrej Certik
On Tue, Aug 18, 2009 at 5:27 PM, William Steinwst...@gmail.com wrote: On Tue, Aug 18, 2009 at 3:51 AM, Golam Mortuza Hossaingmhoss...@gmail.com wrote: Hi, While testing new integral SFunction class for Sage, I encountered this weird bug. -- sage: f(x) = function('f',x) sage:

[sage-devel] Re: factoring questions

2009-08-19 Thread rjf
Plotting algebraic curves == an application to pure math? Is that what sympy is about? factoring is used in simplifying expressions in an attempt to reformat them for easier comprehension. Factoring is used by solve in the obvious way to separate solutions exactly. Factoring is sometimes used

[sage-devel] Re: Serious bug in integral using Maxima?

2009-08-19 Thread Robert Dodier
William Stein wrote: Unless you can give a explanation of what you want integrating wrt x^2 to mean, I think we should also raise an error in Sage. That would be unfortunate. Faced with some unrecognized construct, the mathematical thing to do is to just leave it be. Whether it's meaningful

[sage-devel] Re: factoring questions

2009-08-19 Thread Ondrej Certik
On Tue, Aug 18, 2009 at 11:17 PM, rjffate...@gmail.com wrote: Plotting algebraic curves == an application to pure math? Is that what sympy is about? we accept all reasonable patches to sympy, but my own need is in physics and engineering. I don't need any algebraic curves at all, but I also

[sage-devel] Re: Serious bug in integral using Maxima?

2009-08-19 Thread Ondrej Certik
On Tue, Aug 18, 2009 at 11:17 PM, Robert Dodierrobert.dod...@gmail.com wrote: William Stein wrote: Unless you can give a explanation of what you want integrating wrt x^2 to mean, I think we should also raise an error in Sage. That would be unfortunate. Faced with some unrecognized

[sage-devel] Re: an interesting side-effect from ticket #6645

2009-08-19 Thread Minh Nguyen
Hi Robert, On Wed, Aug 19, 2009 at 4:46 PM, Robert Bradshawrober...@math.washington.edu wrote: On Aug 18, 2009, at 10:39 PM, Minh Nguyen wrote: Hi folks, Take a binary version of Sage 4.1.1 and do any of the following:  * make testoptional  * make testlong  * make ptest  * make

[sage-devel] Re: Explicit variable of integration

2009-08-19 Thread Alex Ghitza
On Wed, Aug 19, 2009 at 2:56 PM, rjffate...@gmail.com wrote: Let's see, in sage then you have the following syntax. (x,y)   means a list Not at all. (x, y) is a tuple. [x, y] is a list. f(x,y)  means a function application (x+y) means grouping for arithmetic. RationalField(x)  means,

[sage-devel] Re: an interesting side-effect from ticket #6645

2009-08-19 Thread Robert Bradshaw
On Aug 18, 2009, at 10:39 PM, Minh Nguyen wrote: Hi folks, Take a binary version of Sage 4.1.1 and do any of the following: * make testoptional * make testlong * make ptest * make ptestall * make ptestlong * make test * make check That feels like way to many commands that do

[sage-devel] Re: Explicit variable of integration

2009-08-19 Thread Robert Bradshaw
On Aug 18, 2009, at 9:56 PM, rjf wrote: Let's see, in sage then you have the following syntax. (x,y) means a list Technically, a tuple (immutable, where as lists (using [] like maxima) are mutable). f(x,y) means a function application That's pretty standard in mathematics and

[sage-devel] Re: notebook rewrite

2009-08-19 Thread Pat LeSmithe
On Jul 22, 9:23 pm, William Stein wst...@gmail.com wrote: On Wed, Jul 22, 2009 at 2:19 PM, ghtdakgl...@tarbox.org wrote: My primary problem is that the Sage subprocess is blocking forever on the other side of the pipe when its not computing... Therefore, I can't have a Sage sub-process

[sage-devel] Re: notebook rewrite

2009-08-19 Thread Pat LeSmithe
Pat LeSmithe wrote: On Jul 22, 9:23 pm, William Stein wst...@gmail.com wrote: On Wed, Jul 22, 2009 at 2:19 PM, ghtdakgl...@tarbox.org wrote: My primary problem is that the Sage subprocess is blocking forever on the other side of the pipe when its not computing... Therefore, I can't have a

[sage-devel] Re: notebook rewrite

2009-08-19 Thread Robert Bradshaw
On Jul 22, 2009, at 11:12 AM, ghtdak wrote: On Jul 21, 6:40 pm, Dr. David Kirkby david.kir...@onetel.net wrote: ghtdak wrote: This thread has gotten long and there are many subjects embedded within. One of the problems I've had with the notebook implementation is that the sage

[sage-devel] Re: book mentioning Sage

2009-08-19 Thread John Cremona
In Larry's second edition there is also a reference to a result I proved while implementing the abelian_group() function for elliptic curves over finite fields in Sage, which will appear in Journal de Théorie des nombres de Bordeaux (joint with Drew Sutherland, see

[sage-devel] Re: Serious bug in integral using Maxima?

2009-08-19 Thread Golam Mortuza Hossain
On Wed, Aug 19, 2009 at 3:17 AM, Robert Dodierrobert.dod...@gmail.com wrote: William Stein wrote: Unless you can give a explanation of what you want integrating wrt x^2 to mean, I think we should also raise an error in Sage. That would be unfortunate. Faced with some unrecognized

[sage-devel] Re: Explicit variable of integration

2009-08-19 Thread Golam Mortuza Hossain
Hi, On Tue, Aug 18, 2009 at 8:02 PM, Jason Groutjason-s...@creativetrax.com wrote: Fredrik Johansson wrote: Given we are moving to a new settings, I am proposing that we make integration syntax bit stricter and consistent now. In particular, we allow only following inputs as valid (1)

[sage-devel] Re: patch reviews (PolyBoRi patch)

2009-08-19 Thread Alexander Dreyer
Hello Dave, hello Martin, unfortunately, I didn't find the time to have a look at that the issue, but The Sage install makefile defines CXX to be g++ so no code should ignore that. In order to obey this, the following lines should be added to patch/custom.py: --- try: CC =

[sage-devel] enhance usability of symbolic expressions?

2009-08-19 Thread Harald Schilly
here is another report a problem message from the notebook interface. It's not a bug (i think) but it gives insight in how Sage is used and over what users stumble when using it for simple things. -- This doesn't work: var('k') u = 1 + k k = 1 u.n() -- It is

[sage-devel] Re: Serious bug in integral using Maxima?

2009-08-19 Thread rjf
Consider integrate(f(x,y),x*y). do you compute d(x*y) as x*dy+y*dx and computeintegrate(f(x) *x,y) + integrate(f(x)*y,x)? Here's another interpretation of variable = x^2... integrate(f(x),x^2) = integrate(integrate(f(x),x),x). that is, an iterated integral. This is like (d ^2

[sage-devel] Re: Graphs in Sage : labels on edges and vertices

2009-08-19 Thread Jason Grout
Nathann Cohen wrote: Hello everybody !!! I have been working with graphs in Sage for some time now, and I have a few remarks about how labels are defined in Graphs ( I may be wrong as I do not think I know ALL about graphs in Sage, so please tell me when I'm wrong ) : - Vertices do not

[sage-devel] Re: Serious bug in integral using Maxima?

2009-08-19 Thread Simon King
Hi! On Aug 19, 3:53 pm, rjf fate...@gmail.com wrote: Consider integrate(f(x,y),x*y). do you compute   d(x*y)  as x*dy+y*dx and compute    integrate(f(x) *x,y) + integrate(f(x)*y,x)? Here's another interpretation of variable = x^2... integrate(f(x),x^2)  =  

[sage-devel] Re: Serious bug in integral using Maxima?

2009-08-19 Thread William Stein
On Tue, Aug 18, 2009 at 11:00 PM, Ondrej Certikond...@certik.cz wrote: On Tue, Aug 18, 2009 at 5:27 PM, William Steinwst...@gmail.com wrote: On Tue, Aug 18, 2009 at 3:51 AM, Golam Mortuza Hossaingmhoss...@gmail.com wrote: Hi, While testing new integral SFunction class for Sage, I

[sage-devel] Re: Serious bug in integral using Maxima?

2009-08-19 Thread Tim Lahey
On Aug 19, 2009, at 1:30 PM, William Stein wrote: That's exactly what I meant. I was just being very sloppy because I was in a hurry. The point is that int f(x) d(x^2) = int f(x) 2 x dx seems very reasonable.We could easily make Sage use this interpretation even though Maxima

[sage-devel] Re: enhance usability of symbolic expressions?

2009-08-19 Thread Tim Lahey
On Aug 19, 2009, at 1:59 PM, William Stein wrote: MATHEMATICA: In[1]:= u := 1 + k; u Out[1]= 1 + k In[2]:= k := 1; In[3]:= u Out[3]= 2 MAPLE: u := 1+k; u := 1 + k u; 1 + k k := 1;

[sage-devel] Re: enhance usability of symbolic expressions?

2009-08-19 Thread Nick Alexander
flamebait The computer scientist in me just can't believe Maple and Mathematica are designed that way. It's just sad. /flamebait This is merely dynamic versus lexical scope. When you need dynamic scope, it's not easy to fake it. Of course, most of the time, you don't need it and in fact

[sage-devel] Re: Serious bug in integral using Maxima?

2009-08-19 Thread Golam Mortuza Hossain
Hi, On Wed, Aug 19, 2009 at 2:30 PM, William Steinwst...@gmail.com wrote: On Tue, Aug 18, 2009 at 11:00 PM, Ondrej Certikond...@certik.cz wrote: well, I would interpret it differently: int f(x) d(x^2)  = int f(x) 2 x dx                     = 2 integrate(x*f(x),x) That's exactly what I

[sage-devel] Re: enhance usability of symbolic expressions?

2009-08-19 Thread Robert Bradshaw
On Wed, 19 Aug 2009, Simon King wrote: Hi Robert, On 19 Aug., 22:43, Robert Bradshaw rober...@math.washington.edu wrote: Is u.subs(globals()) good enough? You mean like this: sage: u=1+x sage: x=1 sage: u.subs(globals()) Traceback (most recent call last): ... TypeError: no

[sage-devel] Re: enhance usability of symbolic expressions?

2009-08-19 Thread Harald Schilly
On Aug 19, 8:56 pm, Nick Alexander ncalexan...@gmail.com wrote: This is merely dynamic versus lexical scope.  When you need dynamic   scope, it's not easy to fake it.  Of course, most of the time, you   don't need it and in fact don't want it :) Yes, my proposal was to introduce a new

[sage-devel] Re: enhance usability of symbolic expressions?

2009-08-19 Thread Simon King
Hi Robert, On 19 Aug., 22:43, Robert Bradshaw rober...@math.washington.edu wrote: Is u.subs(globals()) good enough? You mean like this: sage: u=1+x sage: x=1 sage: u.subs(globals()) Traceback (most recent call last): ... TypeError: no canonical coercion from type 'str' to Symbolic Ring sage:

[sage-devel] Re: Categories restart: call for reviewers

2009-08-19 Thread Nicolas M. Thiery
Dear category fans, David Kohel won't be available in the next two weeks for working on the category review. Is there any volunteer for reviewing (some of the) 40 categories listed under his name on: http://sagetrac.org/sage_trac/wiki/CategoriesCategoriesReview The files are

[sage-devel] Re: notebook rewrite

2009-08-19 Thread William Stein
On Wed, Aug 19, 2009 at 1:19 AM, Robert Bradshawrober...@math.washington.edu wrote: Multithreading will have to be introduced at one level or another to scale the notebook to more than a single processor anyways. - Robert Huh? Why? I don't see any need for multithreading to solve the

[sage-devel] Re: notebook rewrite

2009-08-19 Thread Robert Bradshaw
On Wed, 19 Aug 2009, William Stein wrote: On Wed, Aug 19, 2009 at 1:19 AM, Robert Bradshawrober...@math.washington.edu wrote: Multithreading will have to be introduced at one level or another to scale the notebook to more than a single processor anyways. - Robert Huh? Why? I don't

[sage-devel] Re: notebook rewrite

2009-08-19 Thread William Stein
2009/8/19 Robert Bradshaw rober...@math.washington.edu: On Wed, 19 Aug 2009, William Stein wrote: On Wed, Aug 19, 2009 at 1:19 AM, Robert Bradshawrober...@math.washington.edu wrote: Multithreading will have to be introduced at one level or another to scale the notebook to more than a

[sage-devel] Re: notebook rewrite

2009-08-19 Thread Robert Bradshaw
On Wed, 19 Aug 2009, William Stein wrote: 2009/8/19 Robert Bradshaw rober...@math.washington.edu: On Wed, 19 Aug 2009, William Stein wrote: On Wed, Aug 19, 2009 at 1:19 AM, Robert Bradshawrober...@math.washington.edu wrote: Multithreading will have to be introduced at one level or

[sage-devel] Re: Chris Godsil @ Sage seminar: slides

2009-08-19 Thread David Joyner
Can these be posted to the wiki somewhere? On Wed, Aug 19, 2009 at 6:04 PM, Robert Millerrlmills...@gmail.com wrote: Hello all, For those of you not in Seattle today / not at Chris's talk at the Sage seminar, here is a copy of his slides. -- Forwarded message -- From:

[sage-devel] Re: Chris Godsil @ Sage seminar: slides

2009-08-19 Thread Minh Nguyen
Hi Robert, On Thu, Aug 20, 2009 at 8:04 AM, Robert Millerrlmills...@gmail.com wrote: Hello all, For those of you not in Seattle today / not at Chris's talk at the Sage seminar, here is a copy of his slides. The talk slides are up at the talks wiki page http://wiki.sagemath.org/Talks

[sage-devel] Re: book mentioning Sage

2009-08-19 Thread William Stein
2009/8/19 Minh Nguyen nguyenmi...@gmail.com: Hi folks, Today, I borrowed a copy of L.C. Washington's book Elliptic Curves: Number Theory and Cryptography, 2nd edition. And it's good to know that Sage appears in its own section within an appendix of that book. The section is about using

[sage-devel] Re: Chris Godsil @ Sage seminar: slides

2009-08-19 Thread Minh Nguyen
Hi David, On Thu, Aug 20, 2009 at 9:55 AM, David Joynerwdjoy...@gmail.com wrote: Can these be posted to the wiki somewhere? See this talks wiki page http://wiki.sagemath.org/Talks -- Regards Minh Van Nguyen --~--~-~--~~~---~--~~ To post to this group, send

[sage-devel] Re: Chris Godsil @ Sage seminar: slides

2009-08-19 Thread David Joyner
Thanks Minh! On Wed, Aug 19, 2009 at 7:58 PM, Minh Nguyennguyenmi...@gmail.com wrote: Hi David, On Thu, Aug 20, 2009 at 9:55 AM, David Joynerwdjoy...@gmail.com wrote: Can these be posted to the wiki somewhere? See this talks wiki page http://wiki.sagemath.org/Talks -- Regards Minh

[sage-devel] Re: Serious bug in integral using Maxima?

2009-08-19 Thread Gonzalo Tornaria
On Wed, Aug 19, 2009 at 3:17 AM, Robert Dodierrobert.dod...@gmail.com wrote: William Stein wrote: Unless you can give a explanation of what you want integrating wrt x^2 to mean, I think we should also raise an error in Sage. That would be unfortunate. Faced with some unrecognized

[sage-devel] Re: notebook rewrite

2009-08-19 Thread William Stein
2009/8/19 Robert Bradshaw rober...@math.washington.edu: On Wed, 19 Aug 2009, William Stein wrote: 2009/8/19 Robert Bradshaw rober...@math.washington.edu: On Wed, 19 Aug 2009, William Stein wrote: On Wed, Aug 19, 2009 at 1:19 AM, Robert Bradshawrober...@math.washington.edu wrote:

[sage-devel] Re: Serious bug in integral using Maxima?

2009-08-19 Thread William Stein
2009/8/19 Golam Mortuza Hossain gmhoss...@gmail.com: Hi, On Wed, Aug 19, 2009 at 2:30 PM, William Steinwst...@gmail.com wrote: On Tue, Aug 18, 2009 at 11:00 PM, Ondrej Certikond...@certik.cz wrote: well, I would interpret it differently: int f(x) d(x^2)  = int f(x) 2 x dx            

[sage-devel] Re: Chris Godsil @ Sage seminar: slides

2009-08-19 Thread Jason Grout
Robert Miller wrote: Hello all, For those of you not in Seattle today / not at Chris's talk at the Sage seminar, here is a copy of his slides. Thanks! (and thanks, Chris, if you are listening too). Some comments/questions: 1. What did Chris use to draw the graphs on page 48? The

[sage-devel] Re: notebook rewrite

2009-08-19 Thread Jason Grout
Robert Bradshaw wrote: Not surprising. Also, I forgot about the GIL, which truely limits the performance benifits of threading in Python. If anything ever kills Python, I bet it'll be the GIL (but I'm hopeful that it'll get removed before it causes an untimely death...) Has anyone here

[sage-devel] cliquer

2009-08-19 Thread William Stein
Hi Nathann (cc: sage-devel), I've noticed that including cliquer in Sage is unpleasant for some people, e.g., me. http://trac.sagemath.org/sage_trac/ticket/6746 and http://trac.sagemath.org/sage_trac/ticket/6681 For example, I just upgraded Sage on my 64-bit OS X laptop, and I'm not happened

[sage-devel] Re: cliquer

2009-08-19 Thread Minh Nguyen
Hi William, On Thu, Aug 20, 2009 at 3:20 PM, William Steinwst...@gmail.com wrote: Hi Nathann (cc: sage-devel), I've noticed that including cliquer in Sage is unpleasant for some people, e.g., me. http://trac.sagemath.org/sage_trac/ticket/6746 and