@Deprecated public static float[] combine(float[] x,float[] y){
  int len=0;
  if (x != null)   len+=x.length;
  if (y != null)   len+=y.length;
  float[] z=null;
  if (len > 0) {
    z=new float[len];
    int currentPos=0;
    if (x != null) {
      System.arraycopy(x,0,z,currentPos,x.length);
      currentPos=x.length;
    }
    if (y != null)     System.arraycopy(y,0,z,currentPos,y.length);
  }
  return z;
}

@ Deprecated public static float [ ] combine ( float [ ] x , float [ ] y ) { int len = 0 ; if ( x != null ) len += x . length ; if ( y != null ) len += y . length ; float [ ] z = null ; if ( len > 0 ) { z = new float [ len ] ; int currentPos = 0 ; if ( x != null ) { System . arraycopy ( x , 0 , z , currentPos , x . length ) ; currentPos = x . length ; } if ( y != null ) System . arraycopy ( y , 0 , z , currentPos , y . length ) ; } return z ; }
returns the vector [ x y ]
