[sage-support] Re: Question about UniqueFactory

2012-02-22 Thread Maarten Derickx
If you look in the source code slightly before where the class UniqueFactory is defined you will see the following: from sage_object cimport SageObject cdef sage_version from sage.version import version as sage_version sage_version = sage_version.split('.') for i in range(len(sage_version)):

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

2012-02-22 Thread JamesHDavenport
Try http://www.cas.mcmaster.ca/~carette/publications/simplification.pdf The real point is that GiNaC's canonical form has different goals from a 'simplify' command in the sense of minimal complexity. One really needs to separate the two, and I don;t know how easy that is with the current design. Ja

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

2012-02-22 Thread Mark Rahner
On Feb 22, 2:37 am, JamesHDavenport wrote:> "Canonical form" and "simplify" aren't the same thing (necessarily).> See Carette,J., Understanding Expression Simplification. > Proc. ISSAC 2004 (ed. J. Gutierrez), ACM Press, New York, 2004, pp. 72-79. I don't have access to that source but I completel

Re: [sage-support] docstring for submodules [was sage -t has changed recently ?]

2012-02-22 Thread John Cremona
On 22 February 2012 14:54, Laurent wrote: > Thanks all for your answers. > >   Well. I don't know why my testes were working[1] on 4.7 and no more > working on 4.8. I really did not know that Sage could have such a drastic effect on its (male) users. Thanks for the warning! John > >   So I'm p

Re: [sage-support] docstring for submodules [was sage -t has changed recently ?]

2012-02-22 Thread Laurent
Thanks all for your answers. Well. I don't know why my testes were working[1] on 4.7 and no more working on 4.8. So I'm passing to the subsequent question on the same subject. I have a module test with the files __init__.py file1.py Let a function 'my_function' be in file1.py and wh

[sage-support] Re: Show command question

2012-02-22 Thread P Purkayastha
On Wednesday, February 22, 2012 5:42:35 AM UTC+8, 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".

[sage-support] Bug when running in the notebook, not in command line.

2012-02-22 Thread Thierry Dumont
Hello, We use sage 4.8 The following line: W=WeylGroup("F4") works in command line, BUT do not work when evaluated in the Notebook: Error message is: Traceback (most recent call last): File "", line 1, in File "_sage_input_4.py", line 10, in exec compile(u'open("___code___.py","w").w

[sage-support] Re: Show command question

2012-02-22 Thread mhfrey
It works under sage V4.7.1. On Feb 21, 4:45 pm, Jason Grout wrote: > 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 t