xsimd icon indicating copy to clipboard operation
xsimd copied to clipboard

feature request: shuffle

Open abique opened this issue 5 years ago • 2 comments

Hi,

I've looked through the documentation, but I did not find a way to perform shuffle operations. Is that missing? If so is it something that could become part of the library?

Many thanks, Alexandre

abique avatar Jul 30 '20 09:07 abique

Hi,

Indeed xsimd does not provide any high level API for shuffling yet. That's a feature we would like to have in the library, but we are not sure of how to implement it because of the combinatory issue.

JohanMabille avatar Aug 10 '20 15:08 JohanMabille

What do you mean by combinatory issue?

abique avatar Aug 10 '20 16:08 abique

xsimd now supports swizzle, that shuffles a single vector according to a constant mask. See the doc

serge-sans-paille avatar Oct 21 '22 20:10 serge-sans-paille

@abique I know we're 3 year late on this one, but could you have a look at #925 and check that you were thinking of something along those lines? Thanks!

serge-sans-paille avatar May 14 '23 20:05 serge-sans-paille