204205206207208209210211
return reader.getLargestDoubleBlock(); } public int[][] readIntMatrix(String fileName) throws FileNotFoundException, IOException { BlockFileReader reader = ioNew.asciiNumberReader(fileName); return reader.getLargestIntBlock(); }
210211212213214215216217
return reader.getLargestIntBlock(); } public double[] readDoubleColumn(String fileName, int c) throws FileNotFoundException, IOException { BlockFileReader reader = ioNew.asciiNumberReader(fileName); return reader.getDoubleColumn(c); }
216217218219220221222223
return reader.getDoubleColumn(c); } public int[] readIntColumn(String fileName, int c) throws FileNotFoundException, IOException { BlockFileReader reader = ioNew.asciiNumberReader(fileName); return reader.getIntColumn(c); }
222324252627282930
return reader; } public BlockFileReader asciiNumberReader(String file) throws FileNotFoundException, IOException { BlockFileReader reader = new BlockFileReader(file); reader.scan(); return reader; }