// System.out.println();
// Matrix zeros = InMemoryJBlasMatrix.zeros(10);
// System.out.println(zeros + "\n");
final Matrix ones = InMemoryJBlasMatrix.ones(3, 3);
ones.put(0, 0, 0.5);
ones.put(0, 1, 0.3);
ones.put(1, 1, 0.4);
System.out.println("ONES: " + ones.dialog());
System.out.println("SUB: " + ones.sub(InMemoryJBlasMatrix.eye(3)));
System.out.println("EYE" + InMemoryJBlasMatrix.eye(5));
Matrix m = InMemoryJBlasMatrix.rand(5, null);
m = m.product(m.transpose());
System.out.println(m + "\n");
System.out.println(m.dialog());
System.out.println(m.diag());
}