Handbook
Glossary
vcount ( v -- count )
Vocabulary
math
.
vectors
Inputs
v
an
object
Outputs
count
an
object
Definition
IN:
math.vectors
GENERIC:
vcount
( v -- count )
Methods
USING:
kernel
math.vectors
sequences
;
M:
object
vcount
[
]
count
;
inline
USING:
generic
kernel
math.vectors
math.vectors.simd
math.vectors.simd.intrinsics
math.vectors.simd.private
;
M:
simd-128
vcount
dup
simd-rep
[
[
(simd-vgetmask)
(simd-positive)
]
[
M\
simd-128
vcount
(call-next-method)
]
v->x-op
]
[
mask>count
]
bi
;
inline