Home Online Manual
Top
Back: emptyFan
Forward: fullFan
FastBack: cone
FastForward: polytope
Up: fan related functions
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

4.23.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;
==> _application PolyhedralFan
==> _version 2.2
==> _type PolyhedralFan
==> 
==> AMBIENT_DIM
==> 2
==> 
==> DIM
==> 2
==> 
==> LINEALITY_DIM
==> 0
==> 
==> RAYS
==> 0 -1	# 0
==> 0 1	# 1
==> 1 0	# 2
==> 
==> N_RAYS
==> 3
==> 
==> LINEALITY_SPACE
==> 
==> ORTH_LINEALITY_SPACE
==> -1 0	# 0
==> 0 -1	# 1
==> 
==> F_VECTOR
==> 1 3 2
==> 
==> SIMPLICIAL
==> 1
==> 
==> PURE
==> 1
==> 
==> CONES
==> {}	# Dimension 0
==> {0}	# Dimension 1
==> {1}
==> {2}
==> {0 2}	# Dimension 2
==> {1 2}
==> 
==> MAXIMAL_CONES
==> {0 2}	# Dimension 2
==> {1 2}
==> 
==> MULTIPLICITIES
==> 1	# Dimension 2
==> 1
==> 
list L=c,d;
fan g=fanViaCones(L);
g;
==> _application PolyhedralFan
==> _version 2.2
==> _type PolyhedralFan
==> 
==> AMBIENT_DIM
==> 2
==> 
==> DIM
==> 2
==> 
==> LINEALITY_DIM
==> 0
==> 
==> RAYS
==> 0 -1	# 0
==> 0 1	# 1
==> 1 0	# 2
==> 
==> N_RAYS
==> 3
==> 
==> LINEALITY_SPACE
==> 
==> ORTH_LINEALITY_SPACE
==> -1 0	# 0
==> 0 -1	# 1
==> 
==> F_VECTOR
==> 1 3 2
==> 
==> SIMPLICIAL
==> 1
==> 
==> PURE
==> 1
==> 
==> CONES
==> {}	# Dimension 0
==> {0}	# Dimension 1
==> {1}
==> {2}
==> {0 2}	# Dimension 2
==> {1 2}
==> 
==> MAXIMAL_CONES
==> {0 2}	# Dimension 2
==> {1 2}
==> 
==> MULTIPLICITIES
==> 1	# Dimension 2
==> 1
==>