Fast Fourier transform: Difference between revisions

m
Line 21:
fft: 0.000 0.000 0.000 8.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 8.000 0.000 0.000</lang>
 
Note that fmt only displays the magnitude of the result, because sprintf does not support complex arguments (and shows only 3 decimals of the fractional part).
 
=={{header|Perl 6}}==
6,962

edits