OoplaceDim#

For example, a 2D complex to complex transform of 3 rows and 4 columns with contiguous row-major data layout can be constructed with any of the following:

>>> layout = [hpk.fft.OoplaceDim(3),       hpk.fft.OoplaceDim(4)]
>>> layout = [hpk.fft.OoplaceDim(3, 0, 0), hpk.fft.OoplaceDim(4, 0, 0)]
>>> layout = [hpk.fft.OoplaceDim(3, 8, 8), hpk.fft.OoplaceDim(4, 2, 2)]

CLASS

class hpk.fft.OoplaceDim#

OoplaceDim describes one dimension of an FFT.

__init__#

Overloaded function.

  1. __init__(self) -> None

Same as OoplaceDim(1, 0, 0)

  1. __init__(self, n: int) -> None

Same as OoplaceDim(n, 0, 0) Zero stride indicates elements are contiguous.

  1. __init__(self, n: int, timeStride: int, freqStride: int) -> None

The values of n, timeStride, and freqStride are specified.

  1. __init__(self, arg: tuple[int, int, int], /) -> None

The tuple must contain three ints, (n, timeStride, freqStride).