[ot][spam][random][crazy][random][crazy]

Undescribed Horrific Abuse, One Victim & Survivor of Many gmkarl at gmail.com
Thu Nov 10 12:19:05 PST 2022


(Pdb) print(inspect.getsource(np.fft.irfft))
@array_function_dispatch(_fft_dispatcher)
def irfft(a, n=None, axis=-1, norm=None):
    a = asarray(a)
    if n is None:
        n = (a.shape[axis] - 1) * 2
    inv_norm = _get_backward_norm(n, norm)
    output = _raw_fft(a, n, axis, True, False, inv_norm)
    return output

-> N is (N - 1) * 2, at least

i guess i'll take it slower.

i know i've made ifft work, so making irfft work should be pretty
simple from that.


More information about the cypherpunks mailing list