[sage-support] Re: Changing basis in Free Modules (Disguising my question Changing basis in finite fields)

2007-12-01 Thread Ahmad
"dict" function would be enough for implementing the basis changing in multivariate polynomials for sure. Cheers, Ahmad On Dec 1, 10:47 am, David Harvey <[EMAIL PROTECTED]> wrote: > Hi Ahmad, > > Unfortunately I know nothing about multivariate polynomials in sage, > but in

[sage-support] Intersecting a variety with hyperplanes and the problem with "reduce" function

2007-12-01 Thread Ahmad
lane = x[0] + x[1]; sage: J = ideal(MyHyperplane) sage: CinW = J.reduce(X) sage: print CinW Traceback (most recent call last): ... TypeError: cannot coerce nonconstant polynomial Thank you very much in Advance! Bests, Ahmad --~--~-~--~~~---~--~~ To post to this group, sen

[sage-support] Re: Changing basis in Free Modules (Disguising my question Changing basis in finite fields)

2007-12-01 Thread Ahmad
n (More question is on the way ... :">) Bests, Ahmad On Dec 1, 3:27 am, Ahmad <[EMAIL PROTECTED]> wrote: > Hi David, > > Thank you very much for your solution. I think it is enough for me as > finally I want to see the result in normal basis. However, I changed > the code a little

[sage-support] Re: Changing basis in Free Modules (Disguising my question Changing basis in finite fields)

2007-12-01 Thread Ahmad
n (More question is on the way ... :">) Bests, Ahmad On Dec 1, 3:27 am, Ahmad <[EMAIL PROTECTED]> wrote: > Hi David, > > Thank you very much for your solution. I think it is enough for me as > finally I want to see the result in normal basis. However, I changed > the code a little

[sage-support] Re: Changing basis in Free Modules (Disguising my question Changing basis in finite fields)

2007-12-01 Thread Ahmad
uation become many equations) and then I should pass some hyper-plane through it in its base field. Thanx again. Ahmad On Nov 30, 8:20 am, David Harvey <[EMAIL PROTECTED]> wrote: > On Nov 30, 2007, at 2:45 AM, Ahmad wrote: > > > > > > > Dear Sage Supporters, > &

[sage-support] Changing basis in Free Modules (Disguising my question Changing basis in finite fields)

2007-11-29 Thread Ahmad
g over k[x]: sage: k = GF(2); sage: R = k['x']; x = R.gen() sage: S = R['t']; t = S.gen() sage: SBar = S.quotient(t^4 + t^3 + t^2 + t + 1, 'a'); a = SBar.gen() sage: print x*a^4 x*a^3 + x*a^2 + x*a + x How can I change this basis to normal basis, so I get: sage:

[sage-support] Re: Strange Error in Converting polynomials to vector

2007-10-01 Thread Ahmad
Thanx! On Oct 1, 9:16 am, Martin Albrecht <[EMAIL PROTECTED]> wrote: > > I just wanted to know what is the difference between case 2^15 and > > 2^16. > > > Thanx in advance! > > > Bests, > > Ahmad > > These are different implementations. GF(2^

[sage-support] Re: Strange Error in Converting polynomials to vector

2007-10-01 Thread Ahmad
Anyway the to_V function introduced by William is wokring fine: def to_V(w): return V(w.polynomial().padded_list(V.dimension())) On Oct 1, 5:35 am, Ahmad <[EMAIL PROTECTED]> wrote: > I just tried this and when the field is bigger or equal to 2^16 I got > following error: &g

[sage-support] Strange Error in Converting polynomials to vector

2007-10-01 Thread Ahmad
13 V(z) Exception (click to the left for traceback): ... TypeError: can't initialize vector from nonzero non-list I just wanted to know what is the difference between case 2^15 and 2^16. Thanx in advance! Bests, Ahmad --~--~-~--~~~---~--~~ To post to this

[sage-support] Re: Changing basis in finite fields

2007-09-06 Thread Ahmad
nomial ring in normal basis. Not just the sage result in original field in normal basis. After all I'm addicted to simicolons because of my habit of C Programming! Is not necessary at all? ;) Ahmad On Sep 6, 6:27 am, "David Joyner" <[EMAIL PROTECTED]> wrote: > On 9/6/07,

[sage-support] Re: Changing basis in finite fields

2007-09-05 Thread Ahmad
"vector_modn_dense.pyx", line 134, in vector_modn_dense.Vector_modn_dense.__init__ TypeError: can't initialize vector from nonzero non-list Could you please help me to make the vector space aspect of my finite field works for its polynomial ring as well and give me something like: (0

[sage-support] Re: Changing basis in finite fields

2007-09-04 Thread Ahmad
, "William Stein" <[EMAIL PROTECTED]> wrote: > On 9/3/07, Ahmad <[EMAIL PROTECTED]> wrote: > > > > > I'm new to sage and I don't know even if I'm supposed to post such > > questions to this group or not. If it is a correct place: > > >

[sage-support] Changing basis in finite fields

2007-09-03 Thread Ahmad
such questions, please guide me to the correct place. Thank you very much for your attention and devotion of time! Bests, Ahmad --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [