mlx_rs::fft

Function fft

Source
pub fn fft(
    a: impl AsRef<Array>,
    n: impl Into<Option<i32>>,
    axis: impl Into<Option<i32>>,
) -> Result<Array>
Expand description

One dimensional discrete Fourier Transform.

ยงParams

  • a: The input array.
  • n: Size of the transformed axis. The corresponding axis in the input is truncated or padded with zeros to match n. The default value is a.shape[axis].
  • axis: Axis along which to perform the FFT. The default is -1.