[sage-support] projective varieties

2010-11-24 Thread andrew ewart
I want to be able to right a little code that would take any projective variety and break it down into its irreducible variety components any suggestions. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] Re: Labeled Graphs

2010-11-24 Thread Nathann Cohen
Hello !! how do i create a graph where i have a label for each vertex and each edge? Precisely I need to labels for each vertex (like a name and a value). You can deal with labeled vertices using the set_vertex/get_vertex methods. Nathann -- To post to this group, send email to

[sage-support] Re: projective varieties

2010-11-24 Thread Marshall Hampton
Is it enough to use the primary_decomposition method of ideals? E.g.: R.x,y,z = PolynomialRing(QQ,3) i1 = R.ideal([x*z,y*z]) [list(_.gens()) for _ in i1.primary_decomposition()] gives [[z], [y, x]] -Marshall Hampton On Nov 24, 10:26 am, andrew ewart aewartma...@googlemail.com wrote: I want

Re: [sage-support] Re: Labeled Graphs

2010-11-24 Thread Johannes
thnx, but that's not excatly what I'm looking for, because te label does not appear in the picture created by graph.show() Johannes Am 24.11.2010 18:55, schrieb Nathann Cohen: Hello !! how do i create a graph where i have a label for each vertex and each edge? Precisely I need to labels

Re: [sage-support] Re: Labeled Graphs

2010-11-24 Thread Nathann Cohen
thnx, but that's not  excatly what I'm looking for, because te label does not appear in the picture created by graph.show() Can't help on that one :-/ Nathann -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

Re: [sage-support] projective varieties

2010-11-24 Thread William Stein
On Wed, Nov 24, 2010 at 8:26 AM, andrew ewart aewartma...@googlemail.com wrote: I want to be able to right a little code that would take any projective variety and break it down into its irreducible variety components any suggestions. sage: P.x,y,z = ProjectiveSpace(QQ,2) sage: X =

Re: [sage-support] Labeled Graphs

2010-11-24 Thread Minh Nguyen
Hi Johannes, On Thu, Nov 25, 2010 at 1:51 AM, Johannes dajo.m...@web.de wrote: Hi list, how do i create a graph where i have a label for each vertex and each edge? Precisely I need to labels for each vertex (like a name and a value). I'm guessing you want a weighted graph such as the