[sage-support] Re: Passing graphics objects

2014-03-24 Thread kcrisman
Hi! Can you give a more explicit example of what you'd like to have happen? I want to create a plot by traversing a tree where some leaves of the data > structure add line segments. I am trying to pass one graphics object to a > function that adds a line segment to the graphics object. I assume

[sage-support] Passing graphics objects

2014-03-24 Thread steven . v . wilkinson
I want to create a plot by traversing a tree where some leaves of the data structure add line segments. I am trying to pass one graphics object to a function that adds a line segment to the graphics object. I assumed the graphics object is passed by reference so that changes inside the function

[sage-support] Re: xlrd, xlwt, xlutils with sage

2014-03-24 Thread Shaifali Agrawal
Hey John Thanks alot!! -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-suppo

[sage-support] Re: xlrd, xlwt, xlutils with sage

2014-03-24 Thread John H Palmieri
Here's the answer I just posted to your question on Stack Overflow (http://stackoverflow.com/questions/22612301/xlrd-xlwt-with-sagemath): Rather than installing them with the system Python, install them with Sage's Python: you can either do sage --sh: this starts a subshell with various environ

[sage-support] Polynomial division without remainder

2014-03-24 Thread martin . vgagern
Working in a stack of multivariate polynomial rings, how can I compute the quotient of two polynomials in those cases where I know the remainder to be zero? Reading the docs I found two likely approaches, but neither seems to work as I'd have hoped. See below for error messages. Example: sage

[sage-support] Re: int() on real numbers broken?

2014-03-24 Thread Peter Bruin
Hello, > I am working on a Z80 project and I needed 72 bits of precision for 64 > elements of the form log2(1+2^-i) (so log2(3/2), log2(5/4),...). I > needed to convert these to hexadecimal, and it worked until I tried > the following for i=56: > int(256*log(1+2^-56,2)) > > This returns 1, when in

[sage-support] Re: extension de corps

2014-03-24 Thread Peter Bruin
Bonjour, Il est malheureusement un peu problématique de construire des tours (extensions successives) de corps. Sage sait bien vérifier que votre F6 est un corps, mais F6 est toujours représenté comme anneau quotient et non comme corps fini ; c'est pourquoi certaines opérations naturelles ne marc

Re: [sage-support] question

2014-03-24 Thread David Joyner
On Mon, Mar 24, 2014 at 10:05 AM, Wilcox, Walter wrote: > > Is anyone there? > > I am trying to get sage to understand latex input. I get an error saying > that pdflatex is not installed. How do I do this on a Mac? I have texlive > and texshop installed. I'm not sure what you mean. Can you give

[sage-support] xlrd, xlwt, xlutils with sage

2014-03-24 Thread Shaifali Agrawal
Hello everyone I want to use xlrd, xlwt, xlutils with sagemath. I have installed them in my system's Python but sage environment is not recognizing them. Any idea how can I make them work inside sage?? I am using Ubuntu 12(quantal) with 32 bits and Sage Version 5.8 with Python 2.7.5 Got same p

[sage-support] question

2014-03-24 Thread Wilcox, Walter
Is anyone there? I am trying to get sage to understand latex input. I get an error saying that pdflatex is not installed. How do I do this on a Mac? I have texlive and texshop installed. -Walter Wilcox -- You received this message because you are subscribed to the Google Groups "sage-suppor

[sage-support] int() on real numbers broken?

2014-03-24 Thread Zeda Thomas
I am working on a Z80 project and I needed 72 bits of precision for 64 elements of the form log2(1+2^-i) (so log2(3/2), log2(5/4),...). I needed to convert these to hexadecimal, and it worked until I tried the following for i=56: int(256*log(1+2^-56,2)) This returns 1, when in fact it should be

Re: [sage-support] Correctness of Extended Quadratic Residue Code over GF(4)

2014-03-24 Thread Gerli Viikmaa
Hi, Thank you for your reply. I will look into the implementation of QR codes over non-prime fields. All the best, Gerli esmaspäev, 24. märts 2014 12:54.29 UTC+2 kirjutas David Joyner: > On Mon, Mar 24, 2014 at 6:28 AM, Gerli Viikmaa wrote: > > > Hi, > > > > > > I'm working on vectors of va

Re: [sage-support] Correctness of Extended Quadratic Residue Code over GF(4)

2014-03-24 Thread David Joyner
On Mon, Mar 24, 2014 at 6:28 AM, Gerli Viikmaa wrote: > Hi, > > I'm working on vectors of varying sizes on GF(4) and I'm currently trying to > implement the code given in > http://www.iks.kit.edu/home/grassl/codetables/BKLC/BKLC.php?q=4&n=8&k=2 > > The first step (Extend the QRCode over GF(4) of

[sage-support] Correctness of Extended Quadratic Residue Code over GF(4)

2014-03-24 Thread Gerli Viikmaa
Hi, I'm working on vectors of varying sizes on GF(4) and I'm currently trying to implement the code given in http://www.iks.kit.edu/home/grassl/codetables/BKLC/BKLC.php?q=4&n=8&k=2 The first step (Extend the QRCode over GF(4) of length 11) should give me a [12, 6, 6] linear code - vectors of l

[sage-support] Contents of notebook vanished

2014-03-24 Thread Dennis Eichhorn
Running 'Sage Version 5.1, Release Date: 2012-07-09' in Windows 7 using Oracle VM VirtualBox Manager as suggested. A notebook that had a lot of very important stuff in it has turned into a blank notebook. I had been saving frequently, but was in the middle of making a bunch of 3D graphic image