Java Array Dot Product dotProd(float[] a, float[] b)

Here you can find the source of dotProd(float[] a, float[] b)

Description

dot Prod

License

LGPL

Declaration

private static float dotProd(float[] a, float[] b) 

Method Source Code

//package com.java2s;
//License from project: LGPL 

public class Main {
    private static float dotProd(float[] a, float[] b) {
        return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];
    }/*from  w  ww.j a v  a 2 s . co m*/
}

Related

  1. dotProd(double x[], double y[])
  2. dotprod(double[] xlist, double[] ylist)
  3. dotProduct(double x1, double y1, double x2, double y2)
  4. dotProduct(double x1, double y1, double x2, double y2, double x3, double y3)
  5. dotProduct(double[] a, double[] b)
  6. dotProduct(double[] a, double[] b)