xtensor-stack / xtensor-fftw

FFTW bindings for the xtensor C++14 multi-dimensional array library
BSD 3-Clause "New" or "Revised" License
48 stars 16 forks source link

Make helper functions multi-dimensional #22

Open egpbos opened 6 years ago

egpbos commented 6 years ago

Currently, the helper functions in helper.hpp only work on single dimensional arrays. We should extend this to multi-dimensional arrays. numpy.fft's helper functions use the axes keyword argument for this. This syntax could also be used in broadcasting operations (#4). Possibly, some other syntax is more appropriate in the C++ / xtensor context. We should investigate.