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

D.13.2.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