2024-08-26 13:59:54 +02:00

1.1 KiB

layout
default

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