NumPHPTest\Core\NumArray\Reduce\MeanTest::testMeanMatrix PHP Method

testMeanMatrix() public method

Tests NumArray::mean with a matrix and without arguments
public testMeanMatrix ( )
    public function testMeanMatrix()
    {
        $numArray = NumPHP::arange(1, 6)->reshape(2, 3);
        $expectedNumArray = new NumArray(3.5);
        $this->assertNumArrayEquals($expectedNumArray, $numArray->mean());
    }