question: 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 ; }
target:  Returns a random array of doubles. Random generator always uses the same seed.