List of utility methods to do CSV File Save
void | saveCSV(double[][] A, String fileName) Saves a double matrix to disk using in a Column Space Value (CSV) format. int cols = A[0].length; boolean isMatrix = true; PrintStream fileStream = new PrintStream(fileName); for (int i = 0; i < A.length; i++) { if (A[i].length != cols) { isMatrix = false; for (int j = 0; j < A[i].length; j++) { ... |
void | saveCSV(int[][] A, String fileName) Saves an int matrix to disk using in a Column Space Value (CSV) format. int cols = A[0].length; boolean isMatrix = true; PrintStream fileStream = new PrintStream(fileName); for (int i = 0; i < A.length; i++) { if (A[i].length != cols) { isMatrix = false; for (int j = 0; j < A[i].length; j++) { ... |