[sage-support] Error message when use vectors in Sage 5 with Ubuntu 12.04...

2012-06-16 Thread Chris Seberino
I installed Ubuntu 12.04 about 2 weeks ago along with Sage 5. I just now tried using vectors for the first time and got this error... sage: vector( [-1,2] ) --- AttributeErrorTraceback (most recent

[sage-support] Re: Numerically integrating over a region defined by linear inequalities

2012-06-16 Thread Dima Pasechnik
On 2012-06-16, Alastair Irving wrote: > Hi > > I want to numerically evaluate the integral of a function f(x,y) over a > region defined by linear inequalities, for example > 1/8<=y<=x<=1/3 > x+y<=1/3. > I can do this with a repeated call to numerical_integral because I can > re-write the

[sage-support] Numerically integrating over a region defined by linear inequalities

2012-06-16 Thread Alastair Irving
Hi I want to numerically evaluate the integral of a function f(x,y) over a region defined by linear inequalities, for example 1/8<=y<=x<=1/3 x+y<=1/3. I can do this with a repeated call to numerical_integral because I can re-write the constraints as y<=min(x,1/3-x). However, this solu

Re: [sage-support] Re: Polynomial representation over GF(2^n)

2012-06-16 Thread Martin Albrecht
On Wednesday 13 Jun 2012, Oleksandr Kazymyrov wrote: > And one more. > > The following is quite strange: > sage: K=GF(2^8,'a',modulus=ZZ['x']("x^8 + x^7 + x^6 + x^4 + x^3 + x^2 + > 1")) sage: b=K.multiplicative_generator() > sage: c=K(0) > sage: c.log(b) > 0 > sage: c=K(1) > sage: c.log(b) > 0 >