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
User manual for
Singular
version 4.3.1, 2022, generated by
texi2html
.