More cleanup of `general_` functions
This extracts as much of the common logic from the nd-transforms as possible into generic functions. With the transform-specific logic handled by the exec
functor. I've also tried to abstract all of the data movement and vector-type reordering into overloads of the various copy_
functions.
This does currently keep r2c
and c2r
as their own special cases since they are subtly different in a few ways.
Merge request reports
Activity
added 1 commit
- ac891a30 - Fix hartley transforms by disallowing inplace FFT output
added 1 commit
- 8aa2d5cd - xfail long double tests on WSL and platforms without extended precision
I actually found a method searching around: https://www.reddit.com/r/bashonubuntuonwindows/comments/85jghk/how_to_allow_python_to_know_im_on_windows/dvxwy9t/
I'm now seeing test failures for the dct but it's only an error of ~1e-14. Do these fail for you or is it just WSL being buggy?
That sounds likely. I can take a look at the
cos
calls to see if it fixes the issues if you like.Edited by Peter Bellmentioned in commit bef3070e