public RealVector generateDenseRandomVector(int dimension,int seedLength,Random random){
  RealVector randomVector=new RealVector(dimension);
  randomVector.sparseToDense();
  for (int q=0; q < dimension; q++)   randomVector.coordinates[q]=(float)(random.nextFloat() - 0.5) / (float)dimension;
  return randomVector;
}

public RealVector generateDenseRandomVector ( int dimension , int seedLength , Random random ) { RealVector randomVector = new RealVector ( dimension ) ; randomVector . sparseToDense ( ) ; for ( int q = 0 ; q < dimension ; q ++ ) randomVector . coordinates [ q ] = ( float ) ( random . nextFloat ( ) - 0.5 ) / ( float ) dimension ; return randomVector ; }
generates a basic dense vector with values assigned at random to a real value between - 1 and 1
