xsimd icon indicating copy to clipboard operation
xsimd copied to clipboard

Implement transpose

Open wolfv opened this issue 7 years ago • 2 comments

We should implement a transpose operation to transpose NxN matrix blocks (where N is batch width). The interface should probably look like the one for haddp, e.g. taking a pointer of rows.

template <class T, N>
void transpose(batch<T, N>* rows)
{
... inplace transpose ...
}

wolfv avatar May 06 '18 09:05 wolfv

Note MIPP has very readable implementations for this. https://github.com/aff3ct/MIPP

wolfv avatar May 06 '18 09:05 wolfv

Also implementations available in PacketMath of Eigen3.

wolfv avatar Jun 04 '18 15:06 wolfv