Chalkboard - v3.0.4
    Preparing search index...

    Function dot

    • Calculates the dot product of two arrays.

      Parameters

      • arr1: number[]

        The first array

      • arr2: number[]

        The second array

      Returns number

      const result = Chalkboard.stat.dot([1, 2, 3], [4, 5, 6]); // Returns 32