[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

[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 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 wrote: > On Thu, Mar 22, 2012 at 7:55 AM, Håkan Granath > 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/eva

Re: [sage-support] An AA field bug

2012-03-22 Thread David Loeffler
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 -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from

Re: [sage-support] An AA field bug

2012-03-22 Thread William Stein
On Thu, Mar 22, 2012 at 9:55 AM, David Loeffler 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 QQbar's cod

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 o

[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 t

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=24&t=15645 Regards, Jan On 21 March 2012 11:58, Simon King wrote: > Hi Jan, > > Am Dienstag, 20. März 2012 20:30:15 UTC+1 schrieb Simon Ki

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 " 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 appli

[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 Is this a bug in cython, or am I mis-

[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 (apparen

[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 th

[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 sag

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 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 with 1 el

[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 result

[sage-support] semidefinite programming using csdp -- python import errors

2012-03-22 Thread Robert Samal
Hi, I'm trying to use library Csdp in Sage by means of Python numpy wrapper for CSDP called pycsdp (by B. Kern). I was assuming that it'll be easy, as one can generally run python

[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 a

[sage-support] Re: Changing basis of a symmetric matrix

2012-03-22 Thread Jason Grout
On 3/22/12 9:03 PM, Emil wrote: 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 necessar

[sage-support] Re: semidefinite programming using csdp -- python import errors

2012-03-22 Thread Jason Grout
On 3/22/12 8:58 PM, Robert Samal wrote: Hi, I'm trying to use library Csdp in Sage by means of Python numpy wrapper for CSDP called pycsdp (by B. Kern) . I was assuming that it'll be