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

4.23.1.1 containsInCollection

Syntax:
containsInCollection( fan f, cone c )
Type:
cone
Purpose:
1 iff c is contained in the collection of cones that is f; 0 otherwise
Example:
 
LIB"gfanlib.so";
fan f=emptyFan(2);
intmat M[2][2]=
1,0,
0,1;
cone c=coneViaPoints(M);
containsInCollection(f,c);
==> 0
insertCone(f,c);
containsInCollection(f,c);
==> 1