public static void randomize ( MutableDoubleTuple t , double min , double max , Random random ) { double delta = max - min ; for ( int i = 0 ; i < t . getSize ( ) ; i ++ ) { t . set ( i , min + random . nextDouble ( ) * delta ) ; } }
Fill the given tuple with random values in the specified range using the given random number generator