[sage-support] Re: error installing Kash

2011-05-27 Thread jtyard
Thanks John. It works! Is there a reason that nobody seemed to care that this wasn't fixed for a long time? Does Magma just work that much better that everyone is willing to shell out the money for computing with large Galois groups? On May 27, 9:19 am, John H Palmieri wrote: > On Thursday, M

Re: [sage-support] Re: How set up new accounts in a Python script? (instead of the notebook web form?)

2011-05-27 Thread Robert Bradshaw
On Fri, May 27, 2011 at 3:35 PM, Chris Seberino wrote: > On May 27, 3:34 pm, Berkin Malkoc wrote: >> It is in the >> reference:http://www.sagemath.org/doc/reference/sagenb/notebook/notebook.html > > Thank you.  Those docs appear to be for a Sage session. > > I actually need it to work from a Dja

[sage-support] Re: How set up new accounts in a Python script? (instead of the notebook web form?)

2011-05-27 Thread Chris Seberino
On May 27, 3:34 pm, Berkin Malkoc wrote: > It is in the > reference:http://www.sagemath.org/doc/reference/sagenb/notebook/notebook.html Thank you. Those docs appear to be for a Sage session. I actually need it to work from a Django web application unrelated to Sage!?!? In other words, my ques

[sage-support] Re: output cell in notebook is to little (vertically) for typeset output

2011-05-27 Thread andres.ordonez
Thanks for the reply. The problem is not that the output is too large horizontally, like too long, the problem is that it is too large vertically, like too tall. However your recommendations are very interesting, I've tested the breqn in my system and it works well, I'll install texmacs to check it

Re: [sage-support] How set up new accounts in a Python script? (instead of the notebook web form?)

2011-05-27 Thread Berkin Malkoc
On Fri, May 27, 2011 at 11:01 PM, Chris Seberino wrote: > How set up new accounts in a Python script? (instead of the notebook > web form?) > > I would like to automate this process if possible. It is in the reference: http://www.sagemath.org/doc/reference/sagenb/notebo

[sage-support] How set up new accounts in a Python script? (instead of the notebook web form?)

2011-05-27 Thread Chris Seberino
How set up new accounts in a Python script? (instead of the notebook web form?) I would like to automate this process if possible. Thanks! cs -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegro

[sage-support] Problem with Solve

2011-05-27 Thread rpoirier
I want to solve a relativity problem using SOLVE. I used to be able to, but now I run into a problem. lp=60e9*1000 dtp=1.25*24*3600 beta=var('beta') gamma=1/(sqrt(1-beta^2)) solve(dtp*gamma==lp/(beta*c),beta) the result I expect is a numerical value, but I get the following: [beta == 733841/39600

[sage-support] Re: error installing Kash

2011-05-27 Thread John H Palmieri
On Thursday, May 26, 2011 9:47:19 PM UTC-7, John H Palmieri wrote: > > On Thursday, May 26, 2011 5:41:24 PM UTC-7, jtyard wrote: >> >> Hi, >> >> I'm having trouble installing the optional kash package with >> sage-4.7. I'm using a recent issue macbook pro running 10.6.7. Any >> help would be

[sage-support] Re: Segfault while creating finite field homomorphism

2011-05-27 Thread Jean-Pierre Flori
This is now Trac #11390. On 27 mai, 15:41, Jean-Pierre Flori wrote: > I must admit that I do not know what that method call exactly does, > but calling it resolve the mentionned bug. > Moreover it is called in different places all over the file in a > similar manner so I have the feeling that it

[sage-support] Re: Segfault while creating finite field homomorphism

2011-05-27 Thread Jean-Pierre Flori
I must admit that I do not know what that method call exactly does, but calling it resolve the mentionned bug. Moreover it is called in different places all over the file in a similar manner so I have the feeling that it could be an acceptable fix. I'll open a trac ticket with that fix and a doctes

[sage-support] Re: Segfault while creating finite field homomorphism

2011-05-27 Thread Jean-Pierre Flori
Adding (self._parent).F.restore() before calling cdef GF2X_c r = GF2X_IrredPolyMod(GF2E_rep(self.x),GF2E_modulus()) fixes everything. Not sure yet why it does not get called before in that situation... On 27 mai, 15:03, Jean-Pierre Flori wrote: > Putting sig_on/sig_off around: >        

[sage-support] Re: Segfault while creating finite field homomorphism

2011-05-27 Thread Jean-Pierre Flori
Putting sig_on/sig_off around: sig_on() cdef GF2X_c r = GF2X_IrredPolyMod(GF2E_rep(self.x), GF2E_modulus()) sig_off() I get: /home/jp/boulot/sage/sage-4.7.rc1/local/lib/python2.6/site-packages/ sage/rings/finite_rings/element_ntl_gf2e.so in sage.rings.finite_rings.element_nt

[sage-support] Re: Segfault while creating finite field homomorphism

2011-05-27 Thread Simon King
Hi Jean-Pierre, On 27 Mai, 14:31, Jean-Pierre Flori wrote: > I'll take care of it with a fix hopefully. It turns out that the error occurs in the list() method of a homset, which starts with sage: K = GF(1<<16,'a'); L = GF(1<<32,'b') sage: self = K.Hom(L) sage: D = self.domain() sage: C = self.

[sage-support] Re: Segfault while creating finite field homomorphism

2011-05-27 Thread Jean-Pierre Flori
I'll take care of it with a fix hopefully. The value 16 is of course related to FF implementation. >From 16 it uses NTL and GF2X. There's something nasty occuring in charpoly() or deeper. On 27 mai, 14:27, Simon King wrote: > Hi Jean-Pierre, > > On 27 Mai, 14:08, Jean-Pierre Flori wrote: > > > I

[sage-support] Re: Segfault while creating finite field homomorphism

2011-05-27 Thread Simon King
Hi Jean-Pierre, On 27 Mai, 14:08, Jean-Pierre Flori wrote: > I'm using sage 4.7.rc1 on debian amd64, gcc 4.6. > Can anybody reproduce that behavior, so we should open a trac ticket ? > I could not find anything similar here or on trac. > I'll continue investigating it anyway. I confirm the erro

[sage-support] Segfault while inverting q-adic number with fixed modulus precision

2011-05-27 Thread Jean-Pierre Flori
sage: R. = Zq(8,2,'fixed-mod') sage: 1/t (t^2 + 1) + (t^2 + 1)*2 + O(2^2) sage: 1/(t+t^2) /home/jp/boulot/sage/sage-4.7.rc1/local/lib/libcsage.so(print_backtrace +0x31)[0x7f3d2a9afdf2] /home/jp/boulot/sage/sage-4.7.rc1/local/lib/libcsage.so(sigdie+0x14) [0x7f3d2a9afe24] /home/jp/boulot/sage/sage-4.

[sage-support] Segfault while creating finite field homomorphism

2011-05-27 Thread Jean-Pierre Flori
On my computer I get a segfault just doing : -- | Sage Version 4.7.rc1, Release Date: 2011-04-30 | | Type notebook() for the GUI, and license() for information.| -

Re: [sage-support] Import Ellipse module?

2011-05-27 Thread Rajeev Singh
On Thu, May 26, 2011 at 10:26 PM, Mel wrote: > Do I need to download/load something before I can import the ellipse > module? > > When I type >from sage.plot.ellipse import Ellipse > I get "ImportError: No module named ellipse" > > Thanks! > > -- > To post to this group, send email to sage-su

[sage-support] Re: Error: Converting from p-adics to rationals.

2011-05-27 Thread JamesHDavenport
I know very little about SAGE, but surely the point is that this is not well-defined: what rational were you expecting? You can only guarantee to get a number with (num,den) wrote: > Specifically, there are certain p-adic numbers that I cannot convert > to rationals. As an example, if 1+7^3+O(7^5)

[sage-support] Re: nitpicking on README.txt

2011-05-27 Thread Keshav Kini
I did it anyway :P http://trac.sagemath.org/sage_trac/ticket/11387 Join us in #sagemath on irc.freenode.net ! -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, vis