public static boolean equals(double[] va,double[] vb){
  return Arrays.equals(va,vb);
}

public static boolean equals ( double [ ] va , double [ ] vb ) { return Arrays . equals ( va , vb ) ; }
tests two vectors for equality .
