Vector shuffling, packing, and unpacking

Factor handbook » The language » Numbers » Vector operations

Factor handbook » The language » Numbers » Vector operations

Prev: | Vector component- and bit-wise logic |

Next: | Miscellaneous vector functions |

Notes

These operations are primarily meant to be used with math.vectors.simd types. The software fallbacks for types not supported by hardware will not perform well.

See the math.vectors.conversion vocabulary for packing, unpacking, and converting vectors.

These operations are primarily meant to be used with math.vectors.simd types. The software fallbacks for types not supported by hardware will not perform well.

vshuffle ( v perm -- w )

vbroadcast ( u n -- v )

hlshift ( v n -- w )

hrshift ( v n -- w )

vmerge ( u v -- w )

(vmerge) ( u v -- h t )

See the math.vectors.conversion vocabulary for packing, unpacking, and converting vectors.

This documentation was generated offline from a
`load-all`

image. If you want, you can also
browse the documentation from within the UI developer tools. See
the Factor website
for more information.

Factor 0.100 x86.64 (2240, heads/master-adff5af2b7, Sep 20 2023 21:16:03)