next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Polyhedra :: Cone * Cone

Cone * Cone -- computes the direct product of two cones

Synopsis

Description

Computes the direct product of C1 and C2. This is the cone {(x,y) | x in C1, y in C2}, in the direct product of the ambient spaces.

See also directProduct.

i1 : C1 = coneFromVData matrix {{1,2},{2,1}}

o1 = C1

o1 : Cone
i2 : C2 = coneFromVData matrix {{1}}

o2 = C2

o2 : Cone
i3 : C = C1 * C2

o3 = C

o3 : Cone
i4 : rays C

o4 = | 2 1 0 |
     | 1 2 0 |
     | 0 0 1 |

              3        3
o4 : Matrix ZZ  <--- ZZ