double[] createRealData(final int n){
  final Random random=new Random(SEED);
  final double[] data=new double[n];
  for (int i=0; i < n; i++) {
    data[i]=2.0 * random.nextDouble() - 1.0;
  }
  return data;
}

double [ ] createRealData ( final int n ) { final Random random = new Random ( SEED ) ; final double [ ] data = new double [ n ] ; for ( int i = 0 ; i < n ; i ++ ) { data [ i ] = 2.0 * random . nextDouble ( ) - 1.0 ; } return data ; }
returns a random array of doubles . random generator always uses the same seed .
