5.3.2. backend.fftn

eminus.backend.fftn(x, *args, **kwargs)[source]

Compute the N-D discrete Fourier Transform.

Use SciPy FFTs since they are faster, support parallelism, and are more accurate. They will upcast some complex arrays to complex256. Using NumPy FFTs will fail some tests.

Parameters:
  • x – Input array, can be complex.

  • args – Pass-through arguments.

Keyword Arguments:

**kwargs – Pass-through keyword arguments.

Returns:

Value of the fftn function at x.