Home Online Manual
Top
Back: randomPoint
Forward: relativeInteriorPoint
FastBack:
FastForward:
Up: gfan_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.13.1.36 rays

Procedure from library gfan.lib (see gfan_lib).

Usage:
rays(c); c cone

Return:
bigintmat, generators of the rays of c, orthogonal to its lineality space

Example:
 
LIB "gfan.lib";
intmat M1[2][2]=
1,0,
0,1;
cone c1=coneViaPoints(M1);
bigintmat R1=rays(c1);
print(R1);
==> 1,0,
==> 0,1
intmat M2[3][2]=
1,0,
0,1,
-1,0;
cone c2=coneViaPoints(M2);
bigintmat R2=rays(c2);
print(R2);
==> 0,1