5#include <rexlib/ops/fourier/fourier_normalization.hpp>
7#include <rexlib/core/ndarray/array.hpp>
8#include <rexlib/core/ndarray/const_array_ref.hpp>
9#include <rexlib/core/span.hpp>
16class execution_context;
Container for multidimensional numeric data.
Definition array.hpp:31
Non-owning read-only reference to an array.
Definition const_array_ref.hpp:36
Pairs the hardware resources and the dispatch strategy used to run operations.
Definition execution_context.hpp:43
fourier_normalization
Which of a transform pair carries the scaling.
Definition fourier_normalization.hpp:34
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10
array irfft(const_array_ref x, span< const std::ptrdiff_t > axes, std::size_t extent, ops::fourier_normalization normalization, const execution_context &context, array *out=nullptr)
Transform a half spectrum back into a real array.
array fft3(const_array_ref x, ops::fourier_normalization normalization, const execution_context &context, array *out=nullptr)
Transform an array to the frequency domain.
array ifft(const_array_ref x, span< const std::ptrdiff_t > axes, ops::fourier_normalization normalization, const execution_context &context, array *out=nullptr)
Transform an array back from the frequency domain.
array ifftshift(const_array_ref x, span< const std::ptrdiff_t > axes, const execution_context &context, array *out=nullptr)
Move the zero frequency of a spectrum back to its origin.
array fftshift(const_array_ref x, span< const std::ptrdiff_t > axes, const execution_context &context, array *out=nullptr)
Move the zero frequency of a spectrum to its centre.
array ifft2(const_array_ref x, ops::fourier_normalization normalization, const execution_context &context, array *out=nullptr)
Transform an array back from the frequency domain.
array irfft2(const_array_ref x, std::size_t extent, ops::fourier_normalization normalization, const execution_context &context, array *out=nullptr)
Transform a half spectrum back into a real array.
array fft(const_array_ref x, span< const std::ptrdiff_t > axes, ops::fourier_normalization normalization, const execution_context &context, array *out=nullptr)
Transform an array to the frequency domain.
array rfft(const_array_ref x, span< const std::ptrdiff_t > axes, ops::fourier_normalization normalization, const execution_context &context, array *out=nullptr)
Transform a real array to the frequency domain.
array ifft3(const_array_ref x, ops::fourier_normalization normalization, const execution_context &context, array *out=nullptr)
Transform an array back from the frequency domain.
array rfft3(const_array_ref x, ops::fourier_normalization normalization, const execution_context &context, array *out=nullptr)
Transform a real array to the frequency domain.
array rfft2(const_array_ref x, ops::fourier_normalization normalization, const execution_context &context, array *out=nullptr)
Transform a real array to the frequency domain.
array irfft3(const_array_ref x, std::size_t extent, ops::fourier_normalization normalization, const execution_context &context, array *out=nullptr)
Transform a half spectrum back into a real array.
array fft2(const_array_ref x, ops::fourier_normalization normalization, const execution_context &context, array *out=nullptr)
Transform an array to the frequency domain.