[sage-devel] Fodder for a Sage review

2009-03-16 Thread Rob Beezer
Sage-Devel, I've been asked to write a review of Sage for SIAM Review, the main journal for the Society for Industrial and Applied Mathematics. I'd like to include some concrete examples of some fast and powerful commands in Sage that would interest applied mathematicians. For example, Sage

[sage-devel] Re: SAGE possible improvement

2009-03-16 Thread Maurizio
Hi Fergus, thank you for your comments! So, do you consider working on a Quantity porting worthwhile? It seems that you got some good experience by working on it, so you can probably give some better advice about the structure of that package. Moreover, I'm wondering how much work would it

[sage-devel] Re: sage days 14

2009-03-16 Thread Burcin Erocal
Hi, On Mon, 16 Mar 2009 12:04:37 +1100 Alex Ghitza aghi...@gmail.com wrote: A meta-comment: I basically just wrote down snippets of what people were saying in that discussion. I will try to go through it and expand a little bit. Also for the technical parts (which are amenable to send me

[sage-devel] Re: hyperelliptic curve constructor question

2009-03-16 Thread John Cremona
What the code does is to assign PP to a suitable projective space. I imagine that the intention was for the user to provide the ambient space if they had it handy, so that assignment should be wrapped in if PP is None:. John 2009/3/16 dmharvey dmhar...@cims.nyu.edu: Hi, The constructor for

[sage-devel] Re: hyperelliptic curve constructor question

2009-03-16 Thread John Cremona
I'm worried when you say that the whole schemes directory is being scrubbed, since this could either mean thoroughly cleaned up to it is sparklingly clean and beautiful or deleted, erased completely as in a well-used blackboard. I assume the former ;) but would appreciate it if some of the

[sage-devel] Coercion, was: element of integermod is element of integer?

2009-03-16 Thread Martin Rubey
Nicolas M. Thiery nicolas.thi...@u-psud.fr writes: Do you foresee any occasion to meet physically all three of us? Well, at least two of us are at FPSAC 09 at RISC. (I love all these abbreviations, it feels so french :-) :-) (3) The interpreter makes a heuristic choice which

[sage-devel] Re: sage days 14

2009-03-16 Thread William Stein
On Mon, Mar 16, 2009 at 2:30 AM, Burcin Erocal bur...@erocal.org wrote: Hi, On Mon, 16 Mar 2009 12:04:37 +1100 Alex Ghitza aghi...@gmail.com wrote: A meta-comment: I basically just wrote down snippets of what people were saying in that discussion.  I will try to go through it and expand

[sage-devel] Re: hyperelliptic curve constructor question

2009-03-16 Thread David Harvey
Awesome! Looks like your patch is a little more comprehensive than what I was planning, I might pick and choose a bit :-) david On Mar 15, 11:09 pm, Nick Alexander ncalexan...@gmail.com wrote: My wrapper that I never got around to submitting... Nick  frobenius.py 10KViewDownload On

[sage-devel] Re: Power series rings

2009-03-16 Thread chris wuthrich
sage: K.u = LaurentSeriesRing(QQ) sage: R.t = PowerSeriesRing(QQ) 3. coercion to R does not work (R(u) fails trying to coerce to QQ). I guess this is the same sort of problem as what I reported in trac #5468. chris. --~--~-~--~~~---~--~~ To post to this

[sage-devel] Re: SAGE possible improvement

2009-03-16 Thread Jason Grout
Maurizio wrote: Hi Fergus, thank you for your comments! So, do you consider working on a Quantity porting worthwhile? It seems that you got some good experience by working on it, so you can probably give some better advice about the structure of that package. Moreover, I'm wondering how

[sage-devel] Re: SAGE possible improvement

2009-03-16 Thread Robert Dodier
Maurizio wrote: Regarding the output of such expression you wrote, I agree that it should give a standard unit output for each physical quantity, so by presetting SI (or imperial, or anything else), it should give just meters (or feets, or anything else)... I'm pretty sure that would cause

[sage-devel] Compiling the doc...

2009-03-16 Thread Florent Hivert
Dear All, I've some trouble compiling the doc: tomahawk-*e/sage-3.4/devel $ sage -clone doc [...] tomahawk-*e/sage-3.4/devel $ cd sage-doc tomahawk-*4/devel/sage-doc $ sage -b doc [...] tomahawk-*4/devel/sage-doc $ sage -docbuild reference html Traceback (most recent call last): File

[sage-devel] Corrections to tutorial

2009-03-16 Thread R (Chandra) Chandrasekhar
Dear Folks, I am working my way through the Sage 3.4 Tutorial from my local copy of it, with sage running in a terminal. I have encountered some pitfalls., some typographic errors, and some mystifying errors. I am collating these into a text file. But before I put in too much effort into it,

[sage-devel] Re: sage days 14

2009-03-16 Thread Nicolas M. Thiery
Hi Alex, On Mon, Mar 16, 2009 at 12:04:37PM +1100, Alex Ghitza wrote: Hi, On Mon, Mar 16, 2009 at 10:19 AM, Minh Nguyen nguyenmi...@gmail.com wrote: On the above site, I notice the following dot point: credit: young people, publication record I'm not

[sage-devel] Re: deprecating calling of symbolic expressions without variable names

2009-03-16 Thread Jason Grout
Ronan Paixão wrote: I agree. As a member of the non-math-teacher part of this list, I must agree that plot(some_single_var_function_or_expression, 0, 1) should be considered as valid input. The original proposal by Carl said this would work (see point 3). (well, he had parentheses around

[sage-devel] Re: hyperelliptic curve constructor question

2009-03-16 Thread Justin Walker
On Mar 16, 2009, at 3:04 AM, John Cremona wrote: I'm worried when you say that the whole schemes directory is being scrubbed, since this could either mean thoroughly cleaned up to it is sparklingly clean and beautiful or deleted, erased completely as in a well-used blackboard. I assume

[sage-devel] Re: deprecating calling of symbolic expressions without variable names

2009-03-16 Thread kcrisman
I agree. As a member of the non-math-teacher part of this list, I must agree that plot(some_single_var_function_or_expression, 0, 1) should be considered as valid input. The original proposal by Carl said this would work (see point 3). (well, he had parentheses around the range, but it

[sage-devel] Re: hyperelliptic curve constructor question

2009-03-16 Thread John Cremona
Thanks, Justin. I wish I could have been there! John 2009/3/16 Justin Walker jus...@mac.com: On Mar 16, 2009, at 3:04 AM, John Cremona wrote: I'm worried when you say that the whole schemes directory is being scrubbed, since this could either mean thoroughly cleaned up to it is

[sage-devel] Re: Fodder for a Sage review

2009-03-16 Thread Ahmed Fasih
Greetings. This might not qualify as interesting or relevant, but for my own research, I wrote a Sage app to calculate via Monte Carlo approximation the Cramer-Rao bounds for estimating certain target parameters from synthetic aperture radar data. MPMath's arbitrary- precision float functionality

[sage-devel] Re: Fodder for a Sage review

2009-03-16 Thread William Stein
On Mon, Mar 16, 2009 at 5:21 AM, Ahmed Fasih wuzzyv...@gmail.com wrote: Greetings. This might not qualify as interesting or relevant, but for my own research, I wrote a Sage app to calculate via Monte Carlo approximation the Cramer-Rao bounds for estimating certain target parameters from

[sage-devel] Re: Compiling the doc...

2009-03-16 Thread mabshoff
On Mar 16, 8:09 am, Florent Hivert florent.hiv...@univ-rouen.fr wrote:       Dear All,    I've some trouble compiling the doc: SNIP   File /usr/local/sage/sage/devel/sage/doc/common/builder.py, line 498, in get_module_docstring_title     __import__(module_name) ImportError: No module

[sage-devel] Re: Corrections to tutorial

2009-03-16 Thread William Stein
On Mon, Mar 16, 2009 at 8:19 AM, R (Chandra) Chandrasekhar chyav...@gmail.com wrote: Dear Folks, I am working my way through the Sage 3.4 Tutorial from my local copy of it, with sage running in a terminal. I have encountered some pitfalls., some typographic errors, and some mystifying

[sage-devel] Fwd: Sage 3.4 OS 10.4 PowerPC Install Error

2009-03-16 Thread William Stein
Hi Sage-Devel, Here's yet *another* person that can't use our binary on OS X 10.4 PPC. Michael, can you change the binary name to make it clear that it won't work? Hi Tom, Currently the only way to install sage-3.4 on a G4 is to upgrade an existing install or build from source. William

[sage-devel] Re: hyperelliptic curve constructor question

2009-03-16 Thread Justin Walker
On Mar 16, 2009, at 3:04 AM, John Cremona wrote: I'm worried when you say that the whole schemes directory is being scrubbed, since this could either mean thoroughly cleaned up to it is sparklingly clean and beautiful or deleted, erased completely as in a well-used blackboard. I assume

[sage-devel] Re: deprecating calling of symbolic expressions without variable names

2009-03-16 Thread Jason Grout
kcrisman wrote: I agree. As a member of the non-math-teacher part of this list, I must agree that plot(some_single_var_function_or_expression, 0, 1) should be considered as valid input. The original proposal by Carl said this would work (see point 3). (well, he had parentheses around the

[sage-devel] Re: Fwd: Sage 3.4 OS 10.4 PowerPC Install Error

2009-03-16 Thread mabshoff
On Mar 16, 9:53 am, William Stein wst...@gmail.com wrote: Hi Sage-Devel, Here's yet *another* person that can't use our binary on OS X 10.4 PPC.  Michael, can you change the binary name to make it clear that it won't work? I have removed both OSX 10.4 binaries from them mirror directory

[sage-devel] Re: Fodder for a Sage review

2009-03-16 Thread Fredrik Johansson
On Mon, Mar 16, 2009 at 1:21 PM, Ahmed Fasih wuzzyv...@gmail.com wrote: Greetings. This might not qualify as interesting or relevant, but for my own research, I wrote a Sage app to calculate via Monte Carlo approximation the Cramer-Rao bounds for estimating certain target parameters from

[sage-devel] Re: Compiling the doc...

2009-03-16 Thread Florent Hivert
Dear Michael, On Mar 16, 8:09 am, Florent Hivert florent.hiv...@univ-rouen.fr wrote:       Dear All,    I've some trouble compiling the doc: SNIP   File /usr/local/sage/sage/devel/sage/doc/common/builder.py, line 498, in get_module_docstring_title    

[sage-devel] Re: Compiling the doc...

2009-03-16 Thread mabshoff
On Mar 16, 10:30 am, Florent Hivert florent.hiv...@univ-rouen.fr wrote:       Dear Michael, Hi Florent, This issue was fixed in the final 3.4 tarball - you should check if you have multiple heads in case you are truly running the final 3.4. Strange !!! My install is a brand new one

[sage-devel] Re: Compiling the doc...

2009-03-16 Thread mabshoff
On Mar 16, 10:37 am, mabshoff mabsh...@googlemail.com wrote: SNIP But strangely enough when I run the documentation build I run into the same issue you described. I am poking around to see what is happening ... An observation: pickling environment... done checking consistency...

[sage-devel] Re: Compiling the doc...

2009-03-16 Thread Carl Witty
On Mon, Mar 16, 2009 at 10:46 AM, mabshoff mabsh...@googlemail.com wrote: On Mar 16, 10:37 am, mabshoff mabsh...@googlemail.com wrote: SNIP But strangely enough when I run the documentation build I run into the same issue you described. I am poking around to see what is happening ...

[sage-devel] Re: Compiling the doc...

2009-03-16 Thread mabshoff
On Mar 16, 11:08 am, Carl Witty carl.wi...@gmail.com wrote: On Mon, Mar 16, 2009 at 10:46 AM, mabshoff mabsh...@googlemail.com wrote: On Mar 16, 10:37 am, mabshoff mabsh...@googlemail.com wrote: SNIP But strangely enough when I run the documentation build I run into the same issue

[sage-devel] Re: Compiling the doc...

2009-03-16 Thread Florent Hivert
Hi There is a quaternion_order.rst in devel/sage/doc/en/reference/sage/ algebras that seems to be autogenerated. After nuking the output directory rebuilding all documentation repeatedly works. I tried this one... But on my computation server: sage/algebras/steenrod_algebra_element

[sage-devel] Re: Compiling the doc...

2009-03-16 Thread mabshoff
On Mar 16, 11:25 am, Florent Hivert florent.hiv...@univ-rouen.fr wrote:     Hi There is a quaternion_order.rst in devel/sage/doc/en/reference/sage/ algebras that seems to be autogenerated. After nuking the output directory rebuilding all documentation repeatedly works. I tried this

[sage-devel] Re: SAGE possible improvement

2009-03-16 Thread Maurizio
In fact my idea is a bit different, and I'll explain in a minute: provided that the system is SI, you should get the result as a multiplier (bigger than one) of the closest classic unit representation ex: meters - nm - um - mm - m - km - ecc ecc ex: x1 = 10cm x2 = 1m x1 + x2 = 1.1m y1 = 1V

[sage-devel] Re: Compiling the doc...

2009-03-16 Thread Florent Hivert
It might be, but this is the error reported: OSError: [Errno 24] Too many open files Can you check with ulimit -a what your current limit is (it seems to be 1024 on sage.math for example) and increase it and try again? The sphinx build works for me with 256 max open files on OSX, so the

[sage-devel] Re: Compiling the doc...

2009-03-16 Thread mabshoff
On Mar 16, 11:43 am, Florent Hivert florent.hiv...@univ-rouen.fr wrote: It might be, but this is the error reported: OSError: [Errno 24] Too many open files Can you check with ulimit -a what your current limit is (it seems to be 1024 on sage.math for example) and increase it and try

[sage-devel] Re: deprecating calling of symbolic expressions without variable names

2009-03-16 Thread Joel B. Mohler
On Monday 16 March 2009 12:27:10 pm kcrisman wrote: sage: integrate(y^2) --- TypeError                                 Traceback (most recent call last) TypeError: cannot coerce type 'type

[sage-devel] Re: deprecating calling of symbolic expressions without variable names

2009-03-16 Thread Joel B. Mohler
On Monday 16 March 2009 02:51:30 pm Joel B. Mohler wrote: On Monday 16 March 2009 12:27:10 pm kcrisman wrote: sage: integrate(y^2) - -- TypeError                                 Traceback (most recent call last)

[sage-devel] Re: deprecating calling of symbolic expressions without variable names

2009-03-16 Thread William Stein
On Mon, Mar 16, 2009 at 12:03 PM, Joel B. Mohler j...@kiwistrawberry.us wrote: On Monday 16 March 2009 02:51:30 pm Joel B. Mohler wrote: On Monday 16 March 2009 12:27:10 pm kcrisman wrote: sage: integrate(y^2) - --

[sage-devel] Fwd: Stirling numbers

2009-03-16 Thread John Cremona
I assumed that Stirling numbers would be in Sage as part of sage-combinat but it seems that we just wrap two GAP functions. Are we as fast as we could be? And does Neil Sloane read any of our lists as he clearly does pari-users? John PS also tere's a typo in the docstring of

[sage-devel] Re: Fwd: Stirling numbers

2009-03-16 Thread Fredrik Johansson
On Mon, Mar 16, 2009 at 8:37 PM, John Cremona john.crem...@gmail.com wrote: I assumed that Stirling numbers would be in Sage as part of sage-combinat but it seems that we just wrap two GAP functions.  Are we as fast as we could be?  And does Neil Sloane read any of our lists as he clearly does

[sage-devel] Re: Compiling the doc...

2009-03-16 Thread davidloeffler
I also came across the problem with quaternion_order_ideal.py, but for me it went away when I re-built from a clean tarball (rather than upgrading from 3.4.rc0 as I had done before). But even the final 3.4 tarball generates some Sphinx error messages when you do a docbuild, from some slightly

[sage-devel] Re: deprecating calling of symbolic expressions without variable names

2009-03-16 Thread Robert Bradshaw
On Mar 15, 2009, at 7:29 PM, Ronan Paixão wrote: Em Dom, 2009-03-15 às 17:11 -0700, kcrisman escreveu: Wouldn't it be clearer if the error message read NameError: name 't' is not defined, try var('t') beforehand or something similar? Perhaps as Carl deprecates common anticipated

[sage-devel] Re: SAGE possible improvement

2009-03-16 Thread Robert Bradshaw
On Mar 14, 2009, at 6:29 PM, Jason Grout wrote: It sounds like the problems is the known issue that numpy does not interact very well with Sage data types. Try this: from numpy import * import quantities as pq res = 10r*pq.ohm The 10r means to create a python integer, rather than a Sage

[sage-devel] Re: Corrections to tutorial

2009-03-16 Thread Robert Bradshaw
On Mar 16, 2009, at 9:47 AM, William Stein wrote: On Mon, Mar 16, 2009 at 8:19 AM, R (Chandra) Chandrasekhar chyav...@gmail.com wrote: Dear Folks, I am working my way through the Sage 3.4 Tutorial from my local copy of it, with sage running in a terminal. I have encountered some

[sage-devel] #5535

2009-03-16 Thread Martin Albrecht
Hi there, http://trac.sagemath.org/sage_trac/ticket/5535 adds a neat way of shooting yourself in the foot in the name of performance, so I wonder if anyone has any hard feelings about that? I suggested to include this in Sage (Ryan had a local version for his application), so I think it is

[sage-devel] Re: Compiling the doc...

2009-03-16 Thread mabshoff
On Mar 16, 1:43 pm, davidloeffler dave.loeff...@gmail.com wrote: Hi David, I also came across the problem with quaternion_order_ideal.py, but for me it went away when I re-built from a clean tarball (rather than upgrading from 3.4.rc0 as I had done before). But even the final 3.4 tarball

[sage-devel] search_doc paths?

2009-03-16 Thread Nils Bruin
If I do search_doc(orbit) in sage 3.4 (in the notebook), I get (amongst others) a link: https://localhost:8000/doc/live/html/en/reference/genindex-F.html which leads to a resource cannot be found. The appropriate link seems to be https://localhost:8000/doc/live/reference/genindex-F.html It

[sage-devel] Re: search_doc paths?

2009-03-16 Thread Dan Drake
On Mon, 16 Mar 2009 at 07:13PM -0700, Nils Bruin wrote: If I do search_doc(orbit) in sage 3.4 (in the notebook), I get (amongst others) a link: https://localhost:8000/doc/live/html/en/reference/genindex-F.html which leads to a resource cannot be found. The appropriate link seems to be

[sage-devel] Re: search_doc paths?

2009-03-16 Thread John H Palmieri
On Mar 16, 7:27 pm, Dan Drake dr...@kaist.edu wrote: On Mon, 16 Mar 2009 at 07:13PM -0700, Nils Bruin wrote: If I do search_doc(orbit) in sage 3.4 (in the notebook), I get (amongst others) a link: https://localhost:8000/doc/live/html/en/reference/genindex-F.html which leads to a

[sage-devel] Re: Fodder for a Sage review

2009-03-16 Thread Rob Beezer
David - thanks for the reply, and especially for the reminder to not forget about R. Ahmed - I'd like to use your application in the review. I'll contact you off-list right now for more, but if you miss that, please be back in contact. Fredrik - glad we could help make your day. ;-) More