docs: public static double smallDotProduct_Double(double[] a, double[] b, int length) {
          double sumA = 0.0;
          double sumB = 0.0;
          switch (length) {
              case 7:
                  sumA = a[6] * b[6];
              case 6:
                  sumB = a[5] * b[5];
              case 5:
                  sumA += a[4] * b[4];
              case 4:
                  sumB += a[3] * b[3];
              case 3:
                  sumA += a[2] * b[2];
              case 2:
                  sumB += a[1] * b[1];
              case 1:
                  sumA += a[0] * b[0];
              case 0:
              default:
                  return sumA + sumB;
          }
      }