|
D.15.7.4 gkzFan
Procedure from library gitfan.lib (see gitfan_lib).
- Usage:
- gkzFan(Q); a: ideal, Q:bigintmat
- Purpose:
- Returns the GKZ-fan of the matrix Q.
- Return:
- a fan.
Example:
| LIB "gitfan.lib";
intmat Q[3][4] =
1,0,1,0,
0,1,0,1,
0,0,1,1;
gkzFan(Q);
==> cones found: 1
==> cones found: 2
==> cones found: 3
==> cones found: 4
==>
==> RAYS
==> 0 1 0 # 0
==> 0 1 1 # 1
==> 1 0 0 # 2
==> 1 0 1 # 3
==> 1 1 1 # 4
==>
==> MAXIMAL_CONES
==> {0 1 4} # Dimension 3
==> {0 2 4}
==> {1 3 4}
==> {2 3 4}
==>
|
|