public function testMeanMatrix2x3x4Axis0() { $numArray = NumPHP::arange(1, 24)->reshape(2, 3, 4); $expectedNumArray = NumPHP::arange(7, 18)->reshape(3, 4); $this->assertNumArrayEquals($expectedNumArray, $numArray->mean(0)); }