Re: [sage-support] Large monomial exponents

2010-04-25 Thread William Stein
On Sat, Apr 24, 2010 at 10:22 PM, Robert Bradshaw rober...@math.washington.edu wrote: On Apr 24, 2010, at 5:36 PM, Michael Rybalkin wrote: How to get monomial with large exponent in the polynomial rings? For example I hsave polynomial ring over large finite field: p = next_prime(10^20) R.x

[sage-support] Large monomial exponents

2010-04-24 Thread Michael Rybalkin
How to get monomial with large exponent in the polynomial rings? For example I hsave polynomial ring over large finite field: p = next_prime(10^20) R.x = PolynomialRing(GF(p), sparse=True) Monomial x^(10^7) construction takes 2 seconds: time tmp = x^(10^7) Monomial x^(10^8) construction uses

Re: [sage-support] Large monomial exponents

2010-04-24 Thread Robert Bradshaw
On Apr 24, 2010, at 5:36 PM, Michael Rybalkin wrote: How to get monomial with large exponent in the polynomial rings? For example I hsave polynomial ring over large finite field: p = next_prime(10^20) R.x = PolynomialRing(GF(p), sparse=True) Monomial x^(10^7) construction takes 2 seconds: