Miscellaneous operations

From libsimdpp-docs

The following miscellaneous operations are provided.

Constant declaration

creates a constant of integer elements
(function template)
creates a constant of unsigned integer elements
(function template)
creates a constant of floating-point elements
(function template)

Data transfer

extracts an element from a vector
(function template)
inserts an element to a vector
(function template)
sets all elements of a vector to runtime value
(function template)
checks whether any bits are set in the given vector
(function template)
applies a function to all elements in the vector
(function template)

Casts

casts between unrelated types of the same size
(function template)

Cache operations

prefetches data to lowest level cache for reading
(function)
prefetches data to lowest level cache for writing
(function)