Scalar FunctionsSeries Functions
series_ifft
The inverse discrete Fourier transform, scaled by 1/n, as two series: the real parts and the imaginary parts.
One argument holds the real parts, with imaginary parts zero. Given one name, the result is the real parts; (re, im) = series_ifft(r, i) names both. Null for an empty series.
Syntax
series_ifft(fft_real, fft_imaginary)Parameters
Prop
Type
Returns: dynamic
Examples
Example 1
print x = dynamic([5, 2, 8, 3])
| extend (re, im) = series_fft(x)
| extend (x_re, x_im) = series_ifft(re, im)| x (dynamic) | re (dynamic) | im (dynamic) | x_re (dynamic) | x_im (dynamic) |
|---|---|---|---|---|
| [5,2,8,3] | [18.0,-3.0,8.0,-3.0] | [0.0,1.0,0.0,-1.0] | [5.0,2.0,8.0,3.0] | [0.0,0.0,0.0,0.0] |