Interface LinearCombination.ND

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double value​(double[] a, double[] b)
      Compute the sum of the products of two sequences of factors.
    • Method Detail

      • value

        double value​(double[] a,
                     double[] b)
        Compute the sum of the products of two sequences of factors.
        Parameters:
        a - Factors.
        b - Factors.
        Returns:
        \( \sum_i a_i b_i \).
        Throws:
        IllegalArgumentException - if the sizes of the arrays are different.