[sage-support] About collect-function

2012-11-01 Thread Jori Mantysalo
For example (x^5 + x^2+ (5*a)*x^3).collect(x) returns x^5 + 5*a*x^3 + x^2 as I expected, but (x^5 + x^2+ (5*a)*x^3 + (10*a^2 + 6*a + 5)*x).collect(x) returns x^5 + 5*a*x^3 + (10*a^2 + 6*a + 5)*x + x^2 How to order polynomial as normal, i.e. descending exponents of x? * * *

[sage-support] Re: AttributeError: 'sage.rings.polynomial.pbori.BooleanPolynomial' object has no attribute 'lc'

2012-11-01 Thread V
Maybe this is not the problem, because as far as I can see libc6-dev is installed: $ dpkg -l |grep libc6-dev ii libc6-dev2.11.3-4 Embedded GNU C Library: Development Libraries and Header Files $ Any other suggestions? On Wednesday,

[sage-support] Re: AttributeError: 'sage.rings.polynomial.pbori.BooleanPolynomial' object has no attribute 'lc'

2012-11-01 Thread Dima Pasechnik
On 2012-11-01, V vesselin.velich...@gmail.com wrote: --=_Part_80_29635451.1351758463692 Content-Type: text/plain; charset=ISO-8859-1 Maybe this is not the problem, because as far as I can see libc6-dev is installed: $ dpkg -l |grep libc6-dev ii libc6-dev

[sage-support] Indexed variables/functions

2012-11-01 Thread Jotace
Hi all, How do I create a family of variables. I would need to create, say x_i for i \in N, or at least to have the possibility to use variables x_i for arbitrari i's If it's too complex, it would be enough to create a fixed rannge of variables, say x_i for i in range(100). What I need to do

[sage-support] Re: AttributeError: 'sage.rings.polynomial.pbori.BooleanPolynomial' object has no attribute 'lc'

2012-11-01 Thread V
Thanks! The missing library was libc6-dev-amd64. I installed it and this fixed the stubs-64.h error. Now the compilation breaks with the error: /usr/bin/ld: cannot find -lmpc A more detailed log: /usr/bin/ld: skipping incompatible /tmp/sage-5.3/local/lib/libmpc.a when searching for -lmpc

[sage-support] Sage Crash Report - Sagecell2 in sage-5.4.rc1

2012-11-01 Thread Brandon Curtis
I am attempting to follow the instructions here to install Sage Cell Server 2 on Sage 5.4-rc1: https://github.com/sagemath/sagecell/issues/344 Here is my complete list of commands on a fresh install of Ubuntu 12.10 x64 (I'm having the identical problem on a second machine with an old install of

[sage-support] Re: Sage Crash Report - Sagecell2 in sage-5.4.rc1

2012-11-01 Thread Jason Grout
On 11/1/12 7:01 PM, Brandon Curtis wrote: I am attempting to follow the instructions here to install Sage Cell Server 2 on Sage 5.4-rc1: https://github.com/sagemath/sagecell/issues/344 Here is my complete list of commands on a fresh install of Ubuntu 12.10 x64 (I'm having the identical problem