Skip to main content

ClikaRT::ops::rfft

function

rfft()

Tensor rfft(
    Tensor x,
    std::optional<std::int64_t> n_fft = std::nullopt,
    bool normalized = false
)

One-sided real FFT along the last axis: real [..., n] → interleaved (re, im) pairs [..., n_fft/2 + 1, 2]. n_fft defaults to the last axis's extent; normalized scales the spectrum by 1/sqrt(n_fft).

Declared in ClikaRT/compute/ops.h, line 3214