Skip to content
Snippets Groups Projects
Commit d7055b26 authored by thibault.capt's avatar thibault.capt
Browse files

print

parent 7d1c098b
No related branches found
No related tags found
No related merge requests found
......@@ -65,10 +65,11 @@ public class Matrix {
}
public void matrixPrint(String s, int precision) {
System.out.println();
System.out.println(s + ": ");
for (int i = 0; i < x; i++) {
for (int j = 0; j < y; j++) {
System.out.format("%8.2f", this.data[i][j]);
System.out.format("%10.2f", this.data[i][j]);
}
System.out.println();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment