xfft

Defined in xtensor/misc/xfft.hpp

template<class E>
inline auto xt::fft::fft(E &&e, std::ptrdiff_t axis = -1)

1D FFT of an Nd array along a specified axis

Parameters:
  • e – an Nd expression to be transformed to the fourier domain

  • axis – the axis along which to perform the 1D FFT

Returns:

a transformed xarray of the specified precision

template<class E>
inline auto xt::fft::ifft(E &&e, std::ptrdiff_t axis = -1)
template<typename E1, typename E2>
auto xt::fft::convolve(E1 &&xvec, E2 &&yvec, std::ptrdiff_t axis = -1)