17 const std::vector<int>& axes,
26 const std::vector<int>& axes,
30 const std::vector<int>& axes,
36 return fftn(a, {n}, {axis}, s);
39 return fftn(a, {axis}, s);
44 return ifftn(a, {n}, {axis}, s);
47 return ifftn(a, {axis}, s);
54 const std::vector<int>& axes,
56 return fftn(a, n, axes, s);
60 const std::vector<int>& axes = {-2, -1},
62 return fftn(a, axes, s);
69 const std::vector<int>& axes,
71 return ifftn(a, n, axes, s);
75 const std::vector<int>& axes = {-2, -1},
77 return ifftn(a, axes, s);
84 const std::vector<int>& axes,
88 const std::vector<int>& axes,
96 const std::vector<int>& axes,
100 const std::vector<int>& axes,
106 return rfftn(a, {n}, {axis}, s);
109 return rfftn(a, {axis}, s);
113 return irfftn(a, {n}, {axis}, s);
116 return irfftn(a, {axis}, s);
123 const std::vector<int>& axes,
125 return rfftn(a, n, axes, s);
129 const std::vector<int>& axes = {-2, -1},
131 return rfftn(a, axes, s);
138 const std::vector<int>& axes,
140 return irfftn(a, n, axes, s);
144 const std::vector<int>& axes = {-2, -1},
146 return irfftn(a, axes, s);
array fftn(const array &a, const Shape &n, const std::vector< int > &axes, StreamOrDevice s={})
Compute the n-dimensional Fourier Transform.
array irfftn(const array &a, const Shape &n, const std::vector< int > &axes, StreamOrDevice s={})
Compute the n-dimensional inverse of rfftn.
array fft2(const array &a, const Shape &n, const std::vector< int > &axes, StreamOrDevice s={})
Compute the two-dimensional Fourier Transform.
Definition fft.h:51
array ifft(const array &a, int n, int axis, StreamOrDevice s={})
Compute the one-dimensional inverse Fourier Transform.
Definition fft.h:43
array rfft2(const array &a, const Shape &n, const std::vector< int > &axes, StreamOrDevice s={})
Compute the two-dimensional Fourier Transform on a real input.
Definition fft.h:120
array ifft2(const array &a, const Shape &n, const std::vector< int > &axes, StreamOrDevice s={})
Compute the two-dimensional inverse Fourier Transform.
Definition fft.h:66
array rfft(const array &a, int n, int axis, StreamOrDevice s={})
Compute the one-dimensional Fourier Transform on a real input.
Definition fft.h:105
array irfft(const array &a, int n, int axis, StreamOrDevice s={})
Compute the one-dimensional inverse of rfft.
Definition fft.h:112
array rfftn(const array &a, const Shape &n, const std::vector< int > &axes, StreamOrDevice s={})
Compute the n-dimensional Fourier Transform on a real input.
array fft(const array &a, int n, int axis, StreamOrDevice s={})
Compute the one-dimensional Fourier Transform.
Definition fft.h:35
array irfft2(const array &a, const Shape &n, const std::vector< int > &axes, StreamOrDevice s={})
Compute the two-dimensional inverse of rfft2.
Definition fft.h:135
array ifftn(const array &a, const Shape &n, const std::vector< int > &axes, StreamOrDevice s={})
Compute the n-dimensional inverse Fourier Transform.
std::vector< ShapeElem > Shape
Definition array.h:21
std::variant< std::monostate, Stream, Device > StreamOrDevice
Definition utils.h:15