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 = P.subscheme([x*z, y*z])
sage: X.irreducible_components()
[
Closed subscheme of Projective Space of dimension 2 over Rational
Field defined by:
  z,
Closed subscheme of Projective Space of dimension 2 over Rational
Field defined by:
  y,
  x
]

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to