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

4.22.3.8 containsRelatively

Syntax:
containsRelatively( cone c, intvec point )
Type:
int
Purpose:
1 iff the given cone contains the given point in its relative interior; 0 otherwise
Example:
 
LIB"gfanlib.so";
intmat M[2][2]=
1,0,
0,1;
cone c=coneViaPoints(M);
intvec p1=1,1;
containsRelatively(c,p1);
==> 1
intvec p2=0,1;
containsRelatively(c,p2);
==> 0