Macaulay2 » Documentation
Packages » Varieties :: AffineVariety ** AffineVariety
next | previous | forward | backward | up | index | toc

AffineVariety ** AffineVariety -- Cartesian product of two affine varieties

Description

Synopsis

i1 : X = Spec QQ[x,y]

o1 = X

o1 : AffineVariety
i2 : Y = X ** X

o2 = Y

o2 : AffineVariety
i3 : describe Y

o3 = Spec(QQ[x , y , x , y ])
              0   0   1   1

Synopsis

i4 : Z = X ** QQ[t]

o4 = Z

o4 : AffineVariety
i5 : describe Z

o5 = Spec(QQ[x..y, t])

Caveat

Cartesian products of non-affine varieties are not yet implemented in this package, but see cartesianProduct(NormalToricVariety) for another implementation.

Ways to use this method:


The source of this document is in Varieties/doc-varieties.m2:454:0.