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.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}
==> 

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
            User manual for Singular version 4-0-0, 2013, generated by texi2html.