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
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
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
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
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, "
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
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
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
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,
>
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
10 matches
Mail list logo