[sage-support] Install package behind proxy

2011-12-12 Thread Vinay Wagh
Our institute network uses authenticated proxy. I am having trouble installing a package using *sage -i* OR *sage -f* from command-line. I am using sage-4.7.2 on Ubuntu 12.04 (development branch). I just tried to install *sage-mode*. The error is: Deleting directories

[sage-support] Re: Taking quotient of a free group

2011-12-12 Thread syd.lavas...@gmail.com
OK I found few things, I thought I'll write it here to be recorded in the history. First of all, sage is happy with this: quoKer = F2.Subgroup([F2.1^4, F2.2^2, (F2.1 *F2.2)^2]) myD4 = F2/quoKer But, I'll end up with an error from Gap that I'm generating more than 25 cosets. Basically the quot

[sage-support] Taking quotient of a free group

2011-12-12 Thread syd.lavas...@gmail.com
Hi there, I would like to make a finite group using gen/relation. As far as I read my only chance is to use the Gap wrapper. So I can make the group, I can also make the subgroup but the '/' of Gap doesn't work in sage. So what's the wrapper function for that '/' notation: F2 = gap.FreeGroup(a, b

[sage-support] Re: Question about minimal polynomial to build GF

2011-12-12 Thread luisfe
> sage: > F.=GF(2^8,name='x',modulus=z^8+z^4+z^3+z^2+1,check_irreducible=False) > sage: F > Finite Field in x of size 2^8 > sage: F.polynomial() > x^8 + x^4 + x^3 + x^2 + 1 > > Andrzej Chrzeszczyk In this case sage does not complaint, but check_irreducible is not intended for this use, but to avoi

[sage-support] Re: Low order digits from thin air

2011-12-12 Thread achrzesz
On Dec 12, 2:39 pm, v...@ukr.net wrote: > On Mon, 12 Dec 2011 07:16:17 -0600Jason Grout > wrote: > > > sage: round(-0.02800200,12) > > -0.028 > > > See > >http://www.sagemath.org/doc/reference/sage/misc/functional.html?#sage... > >   Thanks a lot! :) >   It looks like I really should im

Re: [sage-support] Re: Low order digits from thin air

2011-12-12 Thread v_2e
On Mon, 12 Dec 2011 07:16:17 -0600 Jason Grout wrote: > > sage: round(-0.02800200,12) > -0.028 > > See > http://www.sagemath.org/doc/reference/sage/misc/functional.html?#sage.misc.functional.round > Thanks a lot! :) It looks like I really should improve my searching skills. Usually

[sage-support] Re: Low order digits from thin air

2011-12-12 Thread Jason Grout
On 12/12/11 7:11 AM, v...@ukr.net wrote: On Mon, 12 Dec 2011 04:42:19 -0800 (PST) Volker Braun wrote: A good read is "What Every Computer Scientist Should Know About Floating-Point Arithmetic": http://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html Thank your for the advice. I'll

Re: [sage-support] Low order digits from thin air

2011-12-12 Thread v_2e
On Mon, 12 Dec 2011 04:42:19 -0800 (PST) Volker Braun wrote: > A good read is "What Every Computer Scientist Should Know About > Floating-Point Arithmetic": > > http://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html Thank your for the advice. I'll take a look at it. On Mon, 12 Dec 20

Re: [sage-support] Low order digits from thin air

2011-12-12 Thread Laurent
I get the following strange result: (289.5750, 289.6170, -0.02800200) My question is: where do those low order digits come from? And how can I get rid of them? When you are performing numerical computations on a computer, you always have an imprecision due to

[sage-support] Re: Low order digits from thin air

2011-12-12 Thread Volker Braun
A good read is "What Every Computer Scientist Should Know About Floating-Point Arithmetic": http://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr.

[sage-support] Low order digits from thin air

2011-12-12 Thread v_2e
Hello! I have discovered a strange (at least so it seems to me) behaviour of Sage. Here is the problem: I have a list of tuples of the following format: (2000, 289.4280) (2001, 289.5570) (2002, 289.6050) (2003, 289.6170)

[sage-support] Re: Boolean function

2011-12-12 Thread achrzesz
On Dec 12, 7:03 am, Santanu Sarkar wrote: > Sorry I meant to write > " But it does not work" > apologies for the typo > > On 12 December 2011 07:49, Santanu Sarkar > wrote: > > > I have a set of Boolean functions like > > A[0]=x1*x2+x3*x4 > > A[1]=x3+x7+x10 > > A[2]=x19*x36+x43*x45*x50 > >