Function fft #

Calculate N-dimensional fourier transform

Syntax #

math.fft(arr)

Parameters #

Parameter Type Description
arr Array | Matrix An array or matrix

Returns #

Type Description
Array | Matrix N-dimensional fourier transformation of the array

Throws #

Type | Description —- | ———–

Examples #

math.fft([[1, 0], [1, 0]]) // returns [[{re:2, im:0}, {re:2, im:0}], [{re:0, im:0}, {re:0, im:0}]]

See also #

ifft

Fork me on GitHub