Skip to main content

ifft

Overloads

NameDescription
ifft(const ComplexArray input, const List<integer> axes) -> ComplexArrayInverse FFT
ifft(const ComplexMatrix input, const List<integer> axes, real normalization) -> ComplexMatrixInverse FFT with normalization
ifft(const ComplexMatrix input, const List<integer> axes) -> ComplexMatrixInverse FFT
ifft(const ComplexArray input, const List<integer> axes, real normalization) -> ComplexArrayInverse FFT with normalization

ifft(const ComplexArray input, const List<integer> axes) -> ComplexArray

Inverse FFT

Performs inverse complex-to-complex FFT with default normalization (1.0)

Parameters

  • input: Complex input array (Nx1 for 1D, NxM for 2D)
  • axes: Vector of axes to transform. For 1D (Nx1): use [0]. For 2D (NxM): use [0] for rows, [1] for columns, or [0,1] for full 2D FFT

Returns

Complex output array with same shape as input

ifft(const ComplexMatrix input, const List<integer> axes, real normalization) -> ComplexMatrix

Inverse FFT with normalization

Performs inverse complex-to-complex FFT with custom normalization

Parameters

  • input: Complex input matrix (Nx1 for 1D, NxM for 2D)
  • axes: Vector of axes to transform. For 1D (Nx1): use [0]. For 2D (NxM): use [0] for rows, [1] for columns, or [0,1] for full 2D FFT
  • normalization: Normalization factor (default: 1.0 for no normalization, 1.0/N for normalized FFT)

Returns

Complex output matrix with same shape as input

ifft(const ComplexMatrix input, const List<integer> axes) -> ComplexMatrix

Inverse FFT

Performs inverse complex-to-complex FFT with default normalization (1.0)

Parameters

  • input: Complex input matrix (Nx1 for 1D, NxM for 2D)
  • axes: Vector of axes to transform. For 1D (Nx1): use [0]. For 2D (NxM): use [0] for rows, [1] for columns, or [0,1] for full 2D FFT

Returns

Complex output matrix with same shape as input

ifft(const ComplexArray input, const List<integer> axes, real normalization) -> ComplexArray

Inverse FFT with normalization

Performs inverse complex-to-complex FFT with custom normalization

Parameters

  • input: Complex input array (Nx1 for 1D, NxM for 2D)
  • axes: Vector of axes to transform. For 1D (Nx1): use [0]. For 2D (NxM): use [0] for rows, [1] for columns, or [0,1] for full 2D FFT
  • normalization: Normalization factor (default: 1.0 for no normalization, 1.0/N for normalized FFT)

Returns

Complex output array with same shape as input