The idea is to do the same as for standard matrix products: unpack the sine/cosine, split the real and imaginary parts and combine them at the end only... See the matrix product code for inspiration ;)
-- GitLab Migration Automatic Message -- This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/43.