[sage-support] Polynomial mod

2010-04-28 Thread Michael Rybalkin
I faced with a problem with polynomial mod This is example from manual: mod? sage: R. = QQ['x']; sage: f = x^3 + x + 1 sage: f.mod(x + 1) Result is -1 But changing from field QQ to ring ZZ causes mod to do nothing: sage: R. = ZZ['x']; sage: f = x^3 + x + 1 sage: f.mod(x + 1) Result is x^3 + x + 1

[sage-support] Re: Large monomial exponents

2010-04-26 Thread Michael Rybalkin
is should be send to sage-devel. On 25 апр, 11:19, William Stein wrote: > On Sat, Apr 24, 2010 at 10:22 PM, Robert Bradshaw > > > > > > wrote: > > On Apr 24, 2010, at 5:36 PM, Michael Rybalkin wrote: > > >> How to get monomial with large exponent in the pol

[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. = PolynomialRing(GF(p), sparse=True) Monomial x^(10^7) construction takes 2 seconds: time tmp = x^(10^7) Monomial x^(10^8) construction uses all

[sage-support] Load data from from other worksheet

2010-04-21 Thread Michael Rybalkin
I have installed local Sage server. I need some kind of workspace with multiple worksheets and common data storage while working via web interface. What can you recommend in this case? I want to have a bunch of common files for different worksheets. But I don't want to link them explicity to othe