Miscellaneous¶
Documentation of namespaces, classes and functions that do not fit anywhere else.
|
Function self_transform |
Functions¶
-
template<typename
I1, typenameI2, typenameI3, typenameUF>
voidxsimd::self_transform(I1 first_1, I2 last_1, I3 first_2, UF &&f)¶ In-place transform algorithm.
Same as xsimd::transform and std::transform, but the operations are done in-place on the first argument
- Note
first_1andlast_1must have read/write access- Pre
This function assumes that the alignment of both ranges is identical and that they are properly aligned (ie. no alignment offset to the beginning of the data)
- Parameters
first_1: Iterator to the beginning of first rangelast_1: Iterator to the end of the first rangefirst_2: Iterator to the beginning of the second rangef: Binary function or functor to apply to each element