void () { Vector vector = Vector.create(1, 2, 3); assertEquals(vector, Matrix.createIdentity(3).multiply(vector)); Matrix matrix = Matrix.create(2, /*row:*/ 11, 12, 13, /*row:*/ 21, 22, 23); Vector result = matrix.multiply(vector); assertEquals(Vector.create(74, 134), result); assertEquals(matrix.getRows(), result.getSize()); assertEquals(Matrix.createColumn(result), matrix.multiply(Matrix.createColumn(vector))); }