Macaulay2 » Documentation
Packages » MultiprojectiveVarieties :: decompose(MultiprojectiveVariety)
next | previous | forward | backward | up | index | toc

decompose(MultiprojectiveVariety) -- irreducible components of a variety

Description

This calculation is performed using the function decompose(Ideal) (missing documentation) .

i1 : C = PP_(ZZ/100003)^(1,4);

o1 : ProjectiveVariety, curve in PP^4
i2 : L = linearSpan sum{point C,point C}, L' = linearSpan sum{point C,point ambient C};
i3 : X = ⋃ {C,L,L'};

o3 : ProjectiveVariety, curve in PP^4
i4 : D = decompose X

o4 = {line in PP^4, line in PP^4, rational normal curve of degree 4 in PP^4}

o4 : List
i5 : assert(X == ⋃ D)

See also

Ways to use this method:


The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/MultiprojectiveVarieties.m2:4386:0.