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

2012-03-23 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

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

2012-03-23 Thread Jason Grout
On 3/22/12 8:58 PM, Robert Samal wrote: Hi, I'm trying to use library Csdp https://projects.coin-or.org/Csdp/ in Sage by means of Python numpy wrapper for CSDP called pycsdp (by B. Kern) http://ifatwww.et.uni-magdeburg.de/syst/about_us/people/kern/index.shtml. I was assuming that it'll be

[sage-support] QQbar and CyclotomicField

2012-03-23 Thread HÃ¥kan Granath
I was very impressed with the quick resolution of the AA minpoly issue I reported yesterday (#12727), thanks! Here is possibly another bug: -- | Sage Version 4.8, Release Date: 2012-01-20 | | Type

Re: [sage-support] Re: infinite dictionary

2012-03-23 Thread Daniel Krenn
Am 2012-03-21 22:30, schrieb Starx: Check out sage.sets.family.Family, it might be what you're looking for. Many thanks, that is really what I'm looking for. Daniel -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

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

2012-03-23 Thread Robert Samal
Can you post the logs from doing sage -python setup.py instasll, as well as explicit instructions (where to download, etc.) for how to duplicate the error? Sure. It's rather long, but I suppose if it works it would be useful for other people, too. I was hoping someone could spot the

[sage-support] QQbar and CyclotomicField

2012-03-23 Thread David Loeffler
I think this is another aspect of the bug that came up under sorting a list of number field elements yesterday: number fields with embeddings should know how to map themselves into Qqbar and AA, but they don't. This is on trac: http://trac.sagemath.org/sage_trac/ticket/12715. -- To post to

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

2012-03-23 Thread Dima Pasechnik
On 2012-03-23, Jason Grout jason-s...@creativetrax.com wrote: On 3/22/12 8:58 PM, Robert Samal wrote: Hi, I'm trying to use library Csdp https://projects.coin-or.org/Csdp/ in Sage by means of Python numpy wrapper for CSDP called pycsdp (by B. Kern)

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

2012-03-23 Thread Dima Pasechnik
On 2012-03-23, Robert Samal robert.sa...@gmail.com wrote: --=_Part_772_24642055.1332490982625 Content-Type: multipart/alternative; boundary==_Part_773_30231439.1332490982625 --=_Part_773_30231439.1332490982625 Content-Type: text/plain; charset=ISO-8859-1 Can you post

Re: [sage-support] elliptic curve extension degree

2012-03-23 Thread Ken Ribet
On Thursday, March 22, 2012 2:44:43 PM UTC-7, William wrote: 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-support] Re: semidefinite programming using csdp -- python import errors

2012-03-23 Thread Dima Pasechnik
On 2012-03-23, Dima Pasechnik dimp...@gmail.com wrote: On 2012-03-23, Robert Samal robert.sa...@gmail.com wrote: --=_Part_772_24642055.1332490982625 Content-Type: multipart/alternative; boundary==_Part_773_30231439.1332490982625 --=_Part_773_30231439.1332490982625

Re: [sage-support] elliptic curve extension degree

2012-03-23 Thread John Cremona
It's my fault as I wrote the code. if the given degree d fails the test d1 then it's assumed to be 1 (even if d0!!). As William says, raising an error would be better, so this should be fixed. John On Friday, March 23, 2012 6:08:36 PM UTC, Ken Ribet wrote: On Thursday, March 22, 2012

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

2012-03-23 Thread Dima Pasechnik
On 2012-03-23, Dima Pasechnik dimp...@gmail.com wrote: [...] I have had success with installing and running this extenstion on MacOSX 10.6.8, under Sage 4.8. (That is, I didn't even use Atlas - Sage uses native MacOSX lapack/blas) Instructions: fire up Sage shell: sage -sh 1) Compile Csdp