Top
Back: quotientLatticeBasis
Forward: rays
FastBack:
FastForward:
Up: gfan_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.13.1.35 randomPoint

Procedure from library gfan.lib (see gfan_lib).

Usage:
randomPoint(c); c cone

Return:
bigintmat, a random point in the relative interior of c

Example:
 
LIB "gfan.lib";
intmat M[3][2]=
1,0,
0,1,
-1,0;
cone c=coneViaPoints(M);
bigintmat Q=randomPoint(c);
print(Q);
==> -380636641,1335380034


Top Back: quotientLatticeBasis Forward: rays FastBack: FastForward: Up: gfan_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4-1-1p3, 2018, generated by texi2html.