Function fft #

计算N维傅里叶变换

Syntax #

math.fft(arr)

Parameters #

Parameter Type Description
arr Array | Matrix 一个数组或矩阵

Returns #

Type Description
Array | Matrix 数组的N维傅里叶变换

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}]]

另请参阅 #

ifft

Fork me on GitHub