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

D.13.1.59 onesVector

Procedure from library gfan.lib (see gfan_lib).

Usage:
onesVector(n); n int

Return:
intvec, intvec of length n with all entries 1

Example:
 
LIB "gfan.lib";
intvec w = onesVector(3);
w;
==> 1,1,1

Top Back: vertices Forward: polymake_lib 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-2p3, 2020, generated by texi2html.