KokkosFFT::ifftshift

template<typename ExecutionSpace, typename ViewType>
void KokkosFFT::ifftshift(const ExecutionSpace &exec_space, const ViewType &inout, std::optional<int> axes = std::nullopt)

The inverse of fftshift.

Template Parameters:
  • ExecutionSpace – The type of Kokkos execution space

  • ViewType – Input/Output View type for the shift

Parameters:
  • exec_space – [in] Kokkos execution space

  • inout – [in,out] Spectrum

  • axes – [in] Axes over which to shift (default: nullopt, shifting over all axes)

template<typename ExecutionSpace, typename ViewType, std::size_t DIM = 1>
void KokkosFFT::ifftshift(const ExecutionSpace &exec_space, const ViewType &inout, axis_type<DIM> axes)

The inverse of fftshift.

Template Parameters:
  • ExecutionSpace – The type of Kokkos execution space

  • ViewType – Input/Output View type for the shift

  • DIM – The dimensionality of the shift

Parameters:
  • exec_space – [in] Kokkos execution space

  • inout – [in,out] Spectrum

  • axes – [in] Axes over which to shift