public void writeLine(float[] column){
  String str=Float.toString(column[0]);
  for (int i=1; i < column.length; ++i) {
    str+=", " + column[i];
  }
  writer.println(str);
}

public void writeLine ( float [ ] column ) { String str = Float . toString ( column [ 0 ] ) ; for ( int i = 1 ; i < column . length ; ++ i ) { str += ", " + column [ i ] ; } writer . println ( str ) ; }
write a line of values to the file
