Complex-to-complex Inverse Discrete Fourier Transform
This method computes the complex-to-complex inverse discrete Fourier
transform. Ignoring the batch dimensions, it computes the following
expression:
$$
X[\omega_1, \dots, \omega_d] =
\frac{1}{\prod_{i=1}^d N_i} \sum_{n_1=0}^{N_1-1} \dots \sum_{n_d=0}^{N_d-1} x[n_1, \dots, n_d]
e^{\ j\ 2 \pi \sum_{i=0}^d \frac{\omega_i n_i}{N_i}},
$$
where \(d\) = signal_ndim
is number of dimensions for the
signal, and \(N_i\) is the size of signal dimension \(i\).
The argument specifications are almost identical with torch_fft
.
However, if normalized
is set to TRUE
, this instead returns the
results multiplied by \(\sqrt{\prod_{i=1}^d N_i}\), to become a unitary
operator. Therefore, to invert a torch_fft
, the normalized
argument should be set identically for torch_fft
.
Returns the real and the imaginary parts together as one tensor of the same
shape of input
.
The inverse of this function is torch_fft
.