[sage-support] Re: Weird behaviour in integrate code

2012-03-22 Thread ancienthart
On Wednesday, 21 March 2012 22:42:16 UTC+10, kcrisman wrote: fracintegral(x,1/2) 4/15*x^(5/2)/sqrt(pi) Though you should get a deprecation error. Yeah, I do. I don't know the correct way to collect a variable argument from inside a function call, and apply that to a named argument

[sage-support] An AA field bug

2012-03-22 Thread Håkan Granath
The following code fails for me (on Ubuntu 10.10, 32 bit, Sage 4.8 compiled from source): m=sqrt(sin(pi/5)) AA(m).minpoly() I also fails on http://sagemath.org/eval.html /Håkan -- | Sage Version 4.8, Release Date: 2012-01-20

Re: [sage-support] An AA field bug

2012-03-22 Thread William Stein
On Thu, Mar 22, 2012 at 7:55 AM, Håkan Granath hakan.gran...@gmail.com wrote: The following code fails for me (on Ubuntu 10.10, 32 bit, Sage 4.8 compiled from source): m=sqrt(sin(pi/5)) AA(m).minpoly() I also fails on http://sagemath.org/eval.html /Håkan

Re: [sage-support] An AA field bug

2012-03-22 Thread William Stein
On Thu, Mar 22, 2012 at 8:14 AM, William Stein wst...@gmail.com wrote: On Thu, Mar 22, 2012 at 7:55 AM, Håkan Granath hakan.gran...@gmail.com wrote: The following code fails for me (on Ubuntu 10.10, 32 bit, Sage 4.8 compiled from source): m=sqrt(sin(pi/5)) AA(m).minpoly() I also fails on

Re: [sage-support] An AA field bug

2012-03-22 Thread David Loeffler
On Thursday, 22 March 2012 12:23:50 UTC, William wrote: http://trac.sagemath.org/sage_trac/ticket/12727 There is now a patch up, waiting for somebody to review it! William Done. -- David -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this

Re: [sage-support] An AA field bug

2012-03-22 Thread William Stein
On Thu, Mar 22, 2012 at 9:55 AM, David Loeffler dave.loeff...@gmail.com wrote: On Thursday, 22 March 2012 12:23:50 UTC, William wrote: There is now a patch up, waiting for somebody to review it! William Done. -- David Thanks! And let me take the time to advertise your work doctesting

Re: [sage-support] Re: Sorting a list of number field elements

2012-03-22 Thread David Loeffler
On Wednesday, 21 March 2012 16:42:27 UTC, Emil wrote: Hi David, thanks for your reply! I was wondering if there is a way to automatically get the desired embedding into AA. [snip] Do you think it is worth me making a ticket for this? That's more or less what the ticket 12715 I opened

[sage-support] Re: Weird behaviour in integrate code

2012-03-22 Thread kcrisman
On Thursday, March 22, 2012 5:46:58 AM UTC-4, ancienthart wrote: On Wednesday, 21 March 2012 22:42:16 UTC+10, kcrisman wrote: fracintegral(x,1/2) 4/15*x^(5/2)/sqrt(pi) Though you should get a deprecation error. Yeah, I do. I don't know the correct way to collect a variable

Re: [sage-support] Re: Jmol applets

2012-03-22 Thread Jan Groenewald
Hi This is worked around by in firefox in about:config, setting dom.ipc.plugins.java.enabled to true. From: http://ubuntudanmark.dk/forum/viewtopic.php?f=24t=15645 Regards, Jan On 21 March 2012 11:58, Simon King simon.k...@uni-jena.de wrote: Hi Jan, Am Dienstag, 20. März 2012 20:30:15

Re: [sage-support] Re: Vehicle routing problems in sage

2012-03-22 Thread Nathann Cohen
Hell Chris !!! I found that when installing cbc I had to add #include cstdlib to CbcEventHandler.cpp, otherwise I got compilation errors about NULL not being defined. Arg... Well, this interface is being rewritte anyway. I had a lot of things to do during the previous week (job

[sage-support] numpy vectorize and cython

2012-03-22 Thread Jim Clark
Hello experts, Running sage version 4.8 on Mac OS X 10.6.8. I am attempting to cython-ize a sage script that applies numpy, but I can't get cython to compile numpy.vectorize — the error message is ValueError: failed to determine the number of arguments for built-in function pressure Is this a

[sage-support] Ubuntu Installation show(..) fails with Latex error

2012-03-22 Thread Graham Gerrard
Recently installed Sage on Ubuntu 11.10 from tarball source code. Cant get the show() function to work from command line in sage. Error is An error occurred. Latex error Looks like I have failed to link SageTex to TexLive. Sage passed all -testall tests no problem. TexLive is installed

[sage-support] Re: Ubuntu Installation show(..) fails with Latex error

2012-03-22 Thread John H Palmieri
On Thursday, March 22, 2012 1:53:07 PM UTC-7, firebird wrote: Recently installed Sage on Ubuntu 11.10 from tarball source code. Cant get the show() function to work from command line in sage. Error is An error occurred. Latex error First, I assume that view(...) also fails (with the same

[sage-support] elliptic curve extension degree

2012-03-22 Thread Kenneth A. Ribet
Consider this short sage transcript: sage: E=EllipticCurve(GF(3),[1,1]) sage: for i in range(3): ... print i,E.order(extension_degree=i) 0 4 1 4 2 16 Sage seem to think that E has 4 points over the field with 1 element. Was this intended? Ken -- To post to this group, send email to

Re: [sage-support] elliptic curve extension degree

2012-03-22 Thread William Stein
On Thu, Mar 22, 2012 at 5:22 PM, Kenneth A. Ribet kri...@gmail.com wrote: Consider this short sage transcript: sage: E=EllipticCurve(GF(3),[1,1]) sage: for i in range(3): ...       print i,E.order(extension_degree=i) 0 4 1 4 2 16 Sage seem to think that E has 4 points over the field

[sage-support] Re: Weird behaviour in integrate code

2012-03-22 Thread ancienthart
Thanks for this. I'm very aware of how rushed you must be at the moment, so I really appreciate such a quick assist. (Reminds me of when Guido Van Rossum used to haunt the general python newsgroup.) I am pretty printing, will attempt this again with pretty printing turned off and post the

[sage-support] Changing basis of a symmetric matrix

2012-03-22 Thread Emil
The current project I'm working on needs to do a lot of matrix multiplications, of the form B * D * B.T where D is a symmetric positive semi-definite matrix with rational entries, B is a matrix with rational entries, and B * B.T is a diagonal matrix (not necessarily the identity - i.e. the rows