graphprogram_java/src/TestMatrix.java

19 lines
512 B
Java
Raw Normal View History

public class TestMatrix {
public static void main(String[] args) {
2023-04-20 22:25:48 +02:00
test1("/home/old/projects/Java/graphprogram/24n_01.csv");
}
public static void test1(String file) {
Matrix matrix = new Matrix(file);
2023-03-17 15:37:26 +01:00
Matrix scalarProduct;
2023-04-20 22:25:48 +02:00
System.out.println(matrix.getRowLength());
System.out.println(matrix.getColumnLength());
System.out.println(matrix);
2023-03-17 15:37:26 +01:00
2023-04-20 22:25:48 +02:00
scalarProduct = matrix.multiply(matrix);
System.out.println(scalarProduct);
}
}