[sage-support] Re: Decimal form of a unit converted answer

2012-05-20 Thread Justin
It turns out the solution is quite simple. (I feel stupid for not figuring this one out on my own) In order to get an answer in decimal form, all i have to do is... #define units ft = units.length.foot m = units.length.meter #add some lengths and convert to ft (3.0*ft + 4.0*m

[sage-support] Methods in GF

2012-05-20 Thread Oleksandr Kazymyrov
Dear all, 1. Why important next functions? k.a_times_b_minus_c k.a_times_b_plus_c k.c_minus_a_times_b sage: k.some_elements ? ... Returns a collection of elements of this finite field *for use in unit testing.* Why this function are defined as public? 2. Also a few misunderstanding fun

[sage-support] Generator of Finite Field

2012-05-20 Thread Oleksandr Kazymyrov
Hello all. I have encountered the following problem In Sage 5.0: sage: R.=ZZ[] sage: k=GF(2^8,name='a',modulus=x^8+x^4+x^3+x+1) sage: k(ZZ(3).digits(2)) a + 1 sage: k.gen()^ZZ(k(ZZ(3).digits(2)).log_repr()) a sage: k.gen()^ZZ(k(ZZ(3).digits(2)).log_repr()) == k(ZZ(3).digits(2)) False sage: *k("a

Re: [sage-support] Re: Sage 5.0 on Ubuntu 12.04 from PPA

2012-05-20 Thread Graham Gerrard
Thanks Jan Just successfully downloaded. Very impressive! Less than 30 minutes to download and install. Thanks for the encouragement. No sign of previous problems this time. I note that I now have to use "sudo sage -i ..." to install optional packages to ensure suitable access to the filestore

[sage-support] Re: How do I down Sage?

2012-05-20 Thread john_perry_usm
On Saturday, May 19, 2012 4:51:56 PM UTC-5, Kermit Rose wrote: > > I came to the sage web page in order to download Sage. I expected to see > a link labeled "download", and be done with it. Are you talking about the webpage, www.sagemath.org ? When I go there, I see a prominent link labeled, "

Re: [sage-support] Re: Sage 5.0 on Ubuntu 12.04 from PPA

2012-05-20 Thread Jan Groenewald
Hi Graham, On 20 May 2012 17:58, Graham Gerrard wrote: > Hi > > My original version was compiled from source under 11.10 then copied to > 12.04, but I would welcome a binary version supported by someone else! Am > I trying too soon? Should I delete the current version before attempting > recip

[sage-support] Re: Sage 5.0 on Ubuntu 12.04 from PPA

2012-05-20 Thread Graham Gerrard
Hi My original version was compiled from source under 11.10 then copied to 12.04, but I would welcome a binary version supported by someone else! Am I trying too soon? Should I delete the current version before attempting recipe below? 50? successful lines then Any thoughts? Graham H

[sage-support] Re: bison needed for lie-2.2.2.p3

2012-05-20 Thread Keshav Kini
Keshav Kini writes: > Greg Marks writes: >> When building SAGE from source on a Linux machine, I >> noticed that the parser generator "bison" is needed in >> order to install the database lie-2.2.2.p3. Perhaps >> you might consider mentioning bison along with the >> development tools listed (gcc

[sage-support] Re: bison needed for lie-2.2.2.p3

2012-05-20 Thread Keshav Kini
Greg Marks writes: > When building SAGE from source on a Linux machine, I > noticed that the parser generator "bison" is needed in > order to install the database lie-2.2.2.p3. Perhaps > you might consider mentioning bison along with the > development tools listed (gcc, make, m4, perl, ranlib, >

[sage-support] Decimal form of a unit converted answer

2012-05-20 Thread Justin
I was wondering what a good way might be to get a decimal answer when using units. For example, say I try For example, say I do #define units ft = units.length.foot m = units.length.meter #add some lengths and output in ft (3*ft + 4*m).convert(units.length.ft) I get back 61