public function testEntrywiseWrongSize() { $matrix1 = $this->buildMatrix(); $matrix2 = new Matrix([[1, 2, 3], [4, 5, 6], [7, 8, 9]]); static::expectException(MatrixException::class); $matrix1->entrywise($matrix2); }