[sage-support] Re: Some bugs and some wishes

2012-02-21 Thread emil
On 21 Feb., 06:18, Rob Beezer goo...@beezer.cotse.net wrote: On Feb 16, 1:43 am, Manuel Kauers man...@kauers.de wrote: 7.  Nullspace for matrices over finite fields is unreasonably slow sage: M = MatrixSpace(GF(2^31-1), 1000, 1001).random_element(); sage: %time M.right_kernel(); CPU

Re: [sage-support] Flipping an equation/inequality

2012-02-21 Thread ancienthart
Yup, that's very similar to a solution I came up with. Just checking that there isn't a pre-existing method or function I missed. Think I'll go write an enhancement ticket at sage trac. :/ Joal Heagney -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from

Re: [sage-support] Flipping an equation/inequality

2012-02-21 Thread ancienthart
I've opened an enhancement ticket here: http://trac.sagemath.org/sage_trac/ticket/12554 and given you the credit for the example implementation. My approach used a dictionary, but your implementation has the advantage that if an earlier test returns True, the additional test logic doesn't have

Re: [sage-support] Re: Some bugs and some wishes

2012-02-21 Thread Martin Albrecht
Hi Rob, you understand more than I do - is this a bug (big step of time needed for that type of calculation at an rather arbitrary number)? Should I create a track ticket for that? Do you have also an opinion on the various other points? Actually, the cutoff changed: sage:

[sage-support] sage -t has changed recently ?

2012-02-21 Thread Laurent
Hi all ! I want sage -t to test my docstrings. Here is my example : -- sagess.py #! /usr/bin/sage -python # -*- coding: utf8 -*- from sage.all import * def my_function(a): EXAMPLE :: sage: my_function(3) 6 return a*2 -- end of

[sage-support] Re: sage -t has changed recently ?

2012-02-21 Thread Keshav Kini
I don't know about whether this behavior has changed recently, but as far as I know, `sage -t` doesn't currently work on files that are not in the Sage library directory. This is not ideal and people were talking about trying to fix it recently:

[sage-support] Re: sage -t has changed recently ?

2012-02-21 Thread Simon King
Hi Laurent, On 21 Feb., 14:24, Laurent moky.m...@gmail.com wrote: Is it normal ? With older versions of sage the same docstring was working. Really? I doubt it. Your doc test will work if and only if my_function is defined in sage.all if and only if my_function is available directly after

[sage-support] Re: sage -t has changed recently ?

2012-02-21 Thread Keshav Kini
Simon King simon.k...@uni-jena.de writes: Hi Laurent, On 21 Feb., 14:24, Laurent moky.m...@gmail.com wrote: Is it normal ? With older versions of sage the same docstring was working. Really? I doubt it. Could be. https://groups.google.com/d/msg/sage-devel/KFSg46vgXuE/Krh9gzIz7EgJ But it

Re: [sage-support] Re: sage -t has changed recently ?

2012-02-21 Thread Laurent
On 21 Feb., 14:24, Laurentmoky.m...@gmail.com wrote: Is it normal ? With older versions of sage the same docstring was working. Really? I doubt it. Yes, really ;) Well, in fact I did not tested THAT example on Sage 4.7, but my usual programs had doctrings that were working on 4.7 and

Re: [sage-support] Re: sage -t has changed recently ?

2012-02-21 Thread Starx
But what if I don't want to add from ... import * at the beginning of each docstring ? I had this issue recently. William informed me that the philosophy of doctests is that a user should be able to take anything they see in a doctest and type it directly into sage with no additional commands.

Re: [sage-support] Re: sage -t has changed recently ?

2012-02-21 Thread William Stein
On Tue, Feb 21, 2012 at 9:38 AM, Starx jst...@gmail.com wrote: But what if I don't want to add from ... import * at the beginning of each docstring ? I had this issue recently.  William informed me that the philosophy of doctests is that a user should be able to take anything they see in a

[sage-support] Re: sage -t has changed recently ?

2012-02-21 Thread Jason Grout
On 2/21/12 11:42 AM, William Stein wrote: On Tue, Feb 21, 2012 at 9:38 AM, Starxjst...@gmail.com wrote: But what if I don't want to add from ... import * at the beginning of each docstring ? I had this issue recently. William informed me that the philosophy of doctests is that a user should

[sage-support] Re: Simplification Issue Implicates Canonical Form

2012-02-21 Thread Mark Rahner
So once it comes back to Sage, its internal representation goes back to the Ginac one. Doh! So much for a possible workaround involving maxima. Dox, I was using full_simplify() and also the handful of simplify methods it invokes.  Evaluate a.full_simplify? to see their names. Nils, trivial

[sage-support] Show command question

2012-02-21 Thread mhfrey
I recently upgraded to sage 4.8 and was working on some older notebooks. Something has changed in Sage, I can no longer get show($P_{integral}$) to work properly. This should type set to P with subscript of integral. What am I doing wrong? -- To post to this group, send email to

[sage-support] Re: Show command question

2012-02-21 Thread Jason Grout
On 2/21/12 3:42 PM, mhfrey wrote: I recently upgraded to sage 4.8 and was working on some older notebooks. Something has changed in Sage, I can no longer get show($P_{integral}$) to work properly. This should type set to P with subscript of integral. What am I doing wrong? It works if you

[sage-support] Asksage login problem.

2012-02-21 Thread mhfrey
If there is some who can contact the administrator for http://ask.sagemath.org/questions/, please tell them that the askbot recover password function is not working. I cannot recover the password from my old account and I cannot create a new account because my email address is already in use. It

Re: [sage-support] Asksage login problem.

2012-02-21 Thread William Stein
On Tue, Feb 21, 2012 at 1:47 PM, mhfrey f...@jeol.com wrote: If there is some who can contact the administrator for http://ask.sagemath.org/questions/, please tell them that the askbot Done. He's been informed. recover password function is not working.  I cannot recover the password from my

[sage-support] Re: Some bugs and some wishes

2012-02-21 Thread Rob Beezer
On Feb 21, 12:36 am, emil emil.widm...@gmail.com wrote: Hi Rob, you understand more than I do - is this a bug (big step of time needed for that type of calculation at an rather arbitrary number)? Should I create a track ticket for that? Do you have also an opinion on the various other points?

[sage-support] Re: sage -t has changed recently ?

2012-02-21 Thread John H Palmieri
On Tuesday, February 21, 2012 5:24:22 AM UTC-8, Laurent Claessens wrote: Hi all ! I want sage -t to test my docstrings. [snip] Is it normal ? With older versions of sage the same docstring was working. Are you sure it was working before? Is it possible that with earlier versions of Sage,

Re: [sage-support] sage -t has changed recently ?

2012-02-21 Thread Justin C. Walker
On Feb 21, 2012, at 21:36 , John H Palmieri wrote: On Tuesday, February 21, 2012 5:24:22 AM UTC-8, Laurent Claessens wrote: Hi all ! I want sage -t to test my docstrings. [snip] Is it normal ? With older versions of sage the same docstring was working. Are you sure it was working

[sage-support] Re: Simplification Issue Implicates Canonical Form

2012-02-21 Thread JamesHDavenport
On Feb 21, 9:36 pm, Mark Rahner rah...@alum.mit.edu wrote: So once it comes back to Sage, its internal representation goes back to the Ginac one. My initial problem was the severe obfuscation that resulted when extra factors added by the canonical form refused to cancel and then replicated