Handbook
Glossary
([vunpack]) ( from-type to-type -- quot )
Vocabulary
math
.
vectors
.
conversion
.
private
Inputs
from-type
an
object
to-type
an
object
Outputs
quot
an
object
Definition
USING:
accessors
kernel
math.vectors.simd
math.vectors.simd.intrinsics
;
IN:
math.vectors.conversion.private
::
([vunpack])
( from-type to-type -- quot )
from-type
new
simd-rep
[
[
from-type
check-vconvert-type
underlying>>
]
]
dip
[
[
(simd-vunpack-head)
to-type
boa
]
[
(simd-vunpack-tail)
to-type
boa
]
2bi
]
curry
compose
;