Java Array Dot Product dotProduct(Double[] a, Double[] b)

Here you can find the source of dotProduct(Double[] a, Double[] b)

Description

dot Product

License

Open Source License

Declaration

private static Double dotProduct(Double[] a, Double[] b) 

Method Source Code

//package com.java2s;

public class Main {
    private static Double dotProduct(Double[] a, Double[] b) {
        return (a[0] * b[0]) + (a[1] * b[1]);
    }/*  w w w  .j a  v a 2 s  .  c  o m*/
}

Related

  1. dotProduct(double x1, double y1, double x2, double y2)
  2. dotProduct(double x1, double y1, double x2, double y2, double x3, double y3)
  3. dotProduct(double[] a, double[] b)
  4. dotProduct(double[] a, double[] b)
  5. dotProduct(double[] a, double[] b)
  6. dotProduct(double[] array, int[] indices, double[] values)
  7. dotProduct(double[] fv1, double[] fv2)
  8. dotProduct(double[] thisVector, double[] thatVector)
  9. dotProduct(double[] v, double[] u)