Handbook
Glossary
<vector> ( n -- vector )
Factor handbook
»
The language
»
Collections
»
Vectors
Prev:
>vector ( seq -- vector )
Next:
1vector ( x -- vector )
Vocabulary
vectors
Inputs
n
a positive integer specifying initial capacity
Outputs
vector
a
vector
Word description
Creates a new vector that can hold
n
elements before resizing.
Definition
USING:
arrays
kernel
;
IN:
vectors
:
<vector>
( n -- vector )
0
<array>
0
vector
boa
;
inline