Re: [sage-support] Re: [sage-edu] intersection of subspase

2014-05-14 Thread David Joyner
On Wed, May 14, 2014 at 1:52 AM, wrote: > Dear John > I recently became acquainted with the software and its capabilities. I like > to every value p, the two subspace subscribe to my account. Grateful for > your guidance. > > This is a problem in matrix theory which can be solved using row-red

[sage-support] Re: [sage-edu] intersection of subspase

2014-05-13 Thread nt . a . am1392
Dear John I recently became acquainted with the software and its capabilities. I like to every value p, the two subspace subscribe to my account. Grateful for your guidance. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe fro

[sage-support] Re: [sage-edu] intersection of subspase

2014-05-13 Thread John H Palmieri
I think you should do a Sage tutorial before asking more questions. The message is "NameError: name 'p' is not defined", which means precisely what it says: p is not defined. You can't define GF(p) in general, you need to specify a prime (for example 17) and construct GF(17). Or sage: p=17

[sage-support] Re: [sage-edu] intersection of subspase

2014-05-13 Thread nas mer
I attach the program of intersection in sage. On Wed, May 14, 2014 at 9:52 AM, nas mer wrote: > Hi > Thank you > I attach the program of intersection in sage. > please, look at the attach file. > Best regard > > > On Tue, May 13, 2014 at 10:49 PM, wrote: > >> It is known that a polynomial x^

[sage-support] Re: [sage-edu] intersection of subspase

2014-05-13 Thread nas mer
Hi Thank you I attach the program of intersection in sage. please, look at the attach file. Best regard On Tue, May 13, 2014 at 10:49 PM, wrote: > It is known that a polynomial x^2 +x +1= 0 has a solution in Zp if and > only if -3 is a square root > in Zp, which is if and only if p=1.mod 6. th

Re: [sage-support] Re: [sage-edu] intersection of subspase

2014-05-13 Thread David Joyner
On Tue, May 13, 2014 at 5:03 PM, wrote: > Thank you very much. > I test your hint, but it was wrong. Can you please copy and paste into your email what you did and what error you got? > Please indicate where i > require to correct the following example. > > > > sage: y1=CC(-0.5000,0.8660) >>

Re: [sage-support] Re: [sage-edu] intersection of subspase

2014-05-13 Thread nt . a . am1392
Thank you very much. I test your hint, but it was wrong. Please indicate where i require to correct the following example. sage: y1=CC(-0.5000,0.8660) > sage: print(y1) > sage: V = CC^9 > sage: v1 = vector(CC, [0,0,0,-y1-1,1,0,0,0,0]) > sage: v2 = vector(CC, [y1,-y1,-1,1,0,y1,1,0,0]) > sa

Re: [sage-support] Re: [sage-edu] intersection of subspase

2014-05-13 Thread John H Palmieri
On Tuesday, May 13, 2014 12:50:41 PM UTC-7, David Joyner wrote: > > On Tue, May 13, 2014 at 2:19 PM, > > wrote: > > It is known that a polynomial x^2 +x +1= 0 has a solution in Zp if and > only > > if -3 is a square root > > in Zp, which is if and only if p=1.mod 6. the splitting field Zp(y

Re: [sage-support] Re: [sage-edu] intersection of subspase

2014-05-13 Thread David Joyner
On Tue, May 13, 2014 at 2:19 PM, wrote: > It is known that a polynomial x^2 +x +1= 0 has a solution in Zp if and only > if -3 is a square root > in Zp, which is if and only if p=1.mod 6. the splitting field Zp(y1) where > y1 is a solution of the polynomial x^2 +x +1= 0 . > So, * Zp(y1) is not a

[sage-support] Re: [sage-edu] intersection of subspase

2014-05-13 Thread nt . a . am1392
It is known that a polynomial x^2 +x +1= 0 has a solution in Zp if and only if -3 is a square root in Zp, which is if and only if p=1.mod 6. the splitting field Zp(y1) where y1 is a solution of the polynomial x^2 +x +1= 0 . gle.com/d/optout . -- You receiv

[sage-support] Re: [sage-edu] intersection of subspase

2014-05-13 Thread David Joyner
On Tue, May 13, 2014 at 1:50 PM, wrote: > Thank you > Zp(y1) is splitting field. > I should replace CC^9 with Zp(y1) field. > Yes. I should calculate the intersection E and W subspases, but in Zp(y1) > field.where y1=-0.5000 + 0.8660*i. > By Zp(y1), do you mean the cyclotomic field generated b

[sage-support] Re: [sage-edu] intersection of subspase

2014-05-13 Thread David Joyner
I don't know what "the field Zp(y1)" means. It looks like you want to intersect two subspaces of CC^9. Is that correct? Cross-posting to sage-support, where more people might be able to help. On Tue, May 13, 2014 at 11:24 AM, wrote: > Hi > > > I should calculate the intersection E and W sub