|
4.24.1.3 fanViaCones
Syntax:
fanViaCones( list Cones )
fanViaCones( cone c_1,...,cone c_n )
Type:
- fan
Purpose:
- fan generated by the cones supplied, either via a list or via single arguments
Example:
| LIB"gfanlib.so";
intmat M[2][2]=1,0,0,1;
cone c=coneViaPoints(M);
intmat N[2][2]=1,0,0,-1;
cone d=coneViaPoints(N);
fan f=fanViaCones(c,d);
f;
==>
==> RAYS
==> 0 -1 # 0
==> 0 1 # 1
==> 1 0 # 2
==>
==> MAXIMAL_CONES
==> {0 2} # Dimension 2
==> {1 2}
==>
list L=c,d;
fan g=fanViaCones(L);
g;
==>
==> RAYS
==> 0 -1 # 0
==> 0 1 # 1
==> 1 0 # 2
==>
==> MAXIMAL_CONES
==> {0 2} # Dimension 2
==> {1 2}
==>
|
|