Chalkboard - v3.0.4
    Preparing search index...

    Function convolution

    • Calculates the convolution of two arrays.

      Parameters

      • arr1: number[]

        The first array

      • arr2: number[]

        The second array

      Returns number[]

      const result = Chalkboard.stat.convolution([1, 2, 1], [1, -1]); // Returns the discrete convolution