openmixer — generated API reference
    Preparing search index...

    Function fftInPlace

    • Transform re/im in place, length n = re.length.

      inverse conjugates the twiddles and divides by n, so a forward transform followed by an inverse one returns the input to within float noise — the round trip its test asserts. Both arrays are read AND written.

      Returns false and leaves the arrays untouched when the shape is not a power of two or the two halves disagree in length. Absence is a fact: a caller that ignores the answer gets no transform rather than a silently wrong one.

      Parameters

      • re: Float64Array
      • im: Float64Array
      • inverse: boolean = false

      Returns boolean