Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
3D Discrete Fourier Transform by tensor contractions More...
Functions | |
int | test_dft_3D (int n, World &wrld) |
int | main (int argc, char **argv) |
Forms N-by-N DFT matrix A and inverse-dft iA and checks A*iA=I. More... | |
3D Discrete Fourier Transform by tensor contractions
int main | ( | int | argc, |
char ** | argv | ||
) |
Forms N-by-N DFT matrix A and inverse-dft iA and checks A*iA=I.
Definition at line 103 of file dft_3D.cxx.
References test_dft_3D().
int test_dft_3D | ( | int | n, |
World & | wrld | ||
) |
Definition at line 15 of file dft_3D.cxx.
References ctf.core::exp(), CTF::Tensor< dtype >::get_local_data(), ctf.core::imag(), ctf.core::np(), NS, ctf.core::real(), SY, and CTF::Tensor< dtype >::write().
Referenced by main().