[sage-support] Re: Casting a univariate poly to multivariate

2015-05-18 Thread Simon King
Hi Evrim, On 2015-05-15, Evrim Ulu wrote: > sage: f > x^6 + a*x^5 + (a + 1)*x^4 + (a^2 + a + 1)*x^3 + (a^2 + 1)*x^2 + (a + 1)*x + > a^2 + a + 1 > sage: f.parent() > Univariate Polynomial Ring in x over Finite Field in a of size 2^3 > sage: R > Multivariate Polynomial Ring in l0, l1, l2, f0, f1,

[sage-support] Re: Casting a univariate poly to multivariate

2015-05-18 Thread Simon King
Hi Evrim! On 2015-05-18, Simon King wrote: > I did some tests, and found that I could not construct *any* isomorphism > of field extensions. Does anyone know how to construct an isomorphism > between GF(8,'a') and GF(8,'h') leaving the prime field invariant? Aha! This is how it works: sage: fro

Re: [sage-support] Re: Casting a univariate poly to multivariate

2015-05-18 Thread Vincent Delecroix
On 18/05/15 11:43, Simon King wrote: > Hi Evrim! > > On 2015-05-18, Simon King wrote: >> I did some tests, and found that I could not construct *any* isomorphism >> of field extensions. Does anyone know how to construct an isomorphism >> between GF(8,'a') and GF(8,'h') leaving the prime field i

[sage-support] Re: Casting a univariate poly to multivariate

2015-05-18 Thread Simon King
Hi Vincent, On 2015-05-18, Vincent Delecroix <20100.delecr...@gmail.com> wrote: > Or even simpler for that step > > sage: Ka = GF(8,'a') > sage: Kh = GF(8,'h') > sage: Hom(Ka,Kh)([Kh.gen()]) > Ring morphism: > From: Finite Field in a of size 2^3 > To: Finite Field in h of size 2^3 > Defn:

[sage-support] ordering of edges in incidence_matrix vs edges methods are difference

2015-05-18 Thread David Joyner
Hi all: This issue is undocumented and seems odd to me. I could not find it mentioned in sage-support before. sage: Gamma1 = graphs.CompleteGraph(4); Gamma1 Complete graph: Graph on 4 vertices sage: V1 = Gamma1.vertices(); V1 [0, 1, 2, 3] sage: E1 = Gamma1.edges(); E1 [(0, 1, None), (0, 2, None)

Re: [sage-support] ordering of edges in incidence_matrix vs edges methods are difference

2015-05-18 Thread Vincent Delecroix
Hello, This looks like a bug in the method incidence_matrix itself def incidence_matrix(...): ... cols.sort() return matrix(cols, sparse=sparse).transpose() In other words, the matrix is sorted before being returned and there is no correspondance with anything! Vincent PS: BTW, thi

[sage-support] Re: Sagecell not loading in webpage

2015-05-18 Thread springfield .gion
It is working properly now, thanks again!! Daniele -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this gr

Re: [sage-support] ordering of edges in incidence_matrix vs edges methods are difference

2015-05-18 Thread Vincent Delecroix
Moreover, for non oriented graph the Sage definition does not fit with wikipedia... I opened the trac ticket http://trac.sagemath.org/ticket/18440 Vincent -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and s

Re: [sage-support] ordering of edges in incidence_matrix vs edges methods are difference

2015-05-18 Thread David Joyner
On Mon, May 18, 2015 at 7:51 AM, Vincent Delecroix <20100.delecr...@gmail.com> wrote: > Moreover, for non oriented graph the Sage definition does not fit with > wikipedia... I opened the trac ticket > > http://trac.sagemath.org/ticket/18440 > Thank you. In case it's of any interest, the code

[sage-support] Re: [ Sagemath migration ? ] I can't build sage because pari wn't download. Workaround ?

2015-05-18 Thread Volker Braun
You can set SAGE_SERVER=... to a mirror that is reachable behind your firewall. or use the source tarball. On Monday, May 18, 2015 at 1:03:14 PM UTC+2, Emmanuel Charpentier wrote: > > Dear list, > > I am aware that sagemath.org is currently migrating from UW to SMC. This > seems to have serio

[sage-support] Re: [ Sagemath migration ? ] I can't build sage because pari wn't download. Workaround ?

2015-05-18 Thread Emmanuel Charpentier
Dear Volker, Le lundi 18 mai 2015 14:08:02 UTC+2, Volker Braun a écrit : > > You can set > > SAGE_SERVER=... > > to a mirror that is reachable behind your firewall. > That was my second attempt (see what I posted). It didn't work either. > or use the source tarball. > I'm trying to avoid that

Re: [sage-support] ordering of edges in incidence_matrix vs edges methods are difference

2015-05-18 Thread Vincent Delecroix
On 18/05/15 14:06, David Joyner wrote: > On Mon, May 18, 2015 at 7:51 AM, Vincent Delecroix > <20100.delecr...@gmail.com> wrote: >> Moreover, for non oriented graph the Sage definition does not fit with >> wikipedia... I opened the trac ticket >> >> http://trac.sagemath.org/ticket/18440 >> > >

Re: [sage-support] ordering of edges in incidence_matrix vs edges methods are difference

2015-05-18 Thread David Joyner
On Mon, May 18, 2015 at 8:30 AM, Vincent Delecroix <20100.delecr...@gmail.com> wrote: > On 18/05/15 14:06, David Joyner wrote: >> On Mon, May 18, 2015 at 7:51 AM, Vincent Delecroix >> <20100.delecr...@gmail.com> wrote: >>> Moreover, for non oriented graph the Sage definition does not fit with >>> w

[sage-support] Re: [ Sagemath migration ? ] I can't build sage because pari wn't download. Workaround ?

2015-05-18 Thread Emmanuel Charpentier
No such luck : My cellphone no longer gives me access to that (it did about 3 hours before for a different machine with no wired connection. Worked like a charm). Something is fishy here... but I do not know the Sage build architecture well enough to diagnose it. I suppose I'll have to fall ba

Re: [sage-support] Re: Casting a univariate poly to multivariate

2015-05-18 Thread Evrim Ulu
Vincent, thanks for the easy solution, Simon, thanks for the internals, and a quick lecture here. Below is what i've got. Best, evrim. Ka. = GF(8,'a') Kh. = GF(8,'h') hom1 = Ka.hom([Kh.gen()]) R1. = Ka[] R2. = Kh[] F, R = R2.construction() print F # This is a functor of rings that creates a

[sage-support] Re: Casting a univariate poly to multivariate

2015-05-18 Thread Nils Bruin
On Monday, May 18, 2015 at 2:43:46 AM UTC-7, Simon King wrote: > - There are ways to make the conversion automatic, but I would recommend > against it (perhaps it is safer to use K2.register_conversion instead > of K2.register_coercion?) > - You can obtain a homomorphism and use it explicit

[sage-support] Re: installing optional packages

2015-05-18 Thread Luis Garcia-Puente
Thanks, I will wait for 6.7 On Sunday, May 17, 2015 at 12:39:00 PM UTC-5, Volker Braun wrote: > > Fixed in Sage 6.7-rc0 and later...6.7 should be out today. > > > On Sunday, May 17, 2015 at 6:43:20 PM UTC+2, Luis Garcia-Puente wrote: >> >> After installing sage 6.6, I tried to install the opti

[sage-support] Re: installing optional packages

2015-05-18 Thread Luis Garcia-Puente
On Sunday, May 17, 2015 at 1:55:21 PM UTC-5, Dima Pasechnik wrote: > > > > On Sunday, 17 May 2015 17:43:20 UTC+1, Luis Garcia-Puente wrote: >> >> After installing sage 6.6, I tried to install the optional packages 4ti2, >> macaulay2, and nauty but the command >> > > please note that macaulay2 pa

[sage-support] non parametric curve plot

2015-05-18 Thread Evrim Ulu
Hello, Is there a way to plot non-parametric curve of 2-variables f(x,y)=0? I've seen the documentation always employs rational parametrization or uses plot3d. best, evrim. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from

Re: [sage-support] non parametric curve plot

2015-05-18 Thread Brian Sherson
I believe what you are looking for is “implicit_plot” ~Brian On 05/18/2015 03:15 PM, Evrim Ulu wrote: Hello, Is there a way to plot non-parametric curve of 2-variables f(x,y)=0? I've seen the documentation always employs rational parametrization or uses plot3d. best, evrim. -- You received