Home Online Manual
Top
Back: GKZfan
Forward: computeAfaceOrbits
FastBack:
FastForward:
Up: gitfan_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.15.16.11 movingCone

Procedure from library gitfan.lib (see gitfan_lib).

Usage:
movingCone(Q); Q: intmat

Purpose:
Computes the moving cone from the grading matrix, with the degrees in the columns of Q.

Return:
a cone

Example:
 
LIB "gitfan.lib";
intmat Q[5][10] =
1, 1, 1, 1, 0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 1, 1, 1, 0, 0, 0,
0, 1, 1, 0, 0, 0, -1, 1, 0, 0,
0, 1, 0, 1, 0, -1, 0, 0, 1, 0,
0, 0, 1, 1, -1, 0, 0, 0, 0, 1;
cone mov = movingCone(Q);
mov;
==> AMBIENT_DIM
==> 5
==> FACETS
==> -2,1, 1, 1, 1,
==> -1,1, 0, 0, 1,
==> -1,1, 0, 1, 0,
==> -1,1, 1, 0, 0,
==>  0,0, 0, 0, 1,
==>  0,0, 0, 1, 0,
==>  0,0, 1, 0, 0,
==>  1,0,-1, 0, 0,
==>  1,0, 0,-1, 0,
==>  1,0, 0, 0,-1
==> LINEAR_SPAN
==> 
==> 
rays(mov);
==> 1,1,0,1,0,
==> 1,1,1,1,0,
==> 1,2,0,0,0,
==> 2,1,1,1,1,
==> 1,1,1,0,0,
==> 1,1,1,0,1,
==> 1,1,0,1,1,
==> 1,1,0,0,1,
==> 1,0,1,1,1,
==> 0,1,0,0,0