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

testMeanVectorAxis0() public method

Tests NumArray::mean with a vector and with argument 0
public testMeanVectorAxis0 ( )
    public function testMeanVectorAxis0()
    {
        $numArray = new NumArray([45, 2, -5]);
        $expectedNumArray = new NumArray(14);
        $this->assertNumArrayEquals($expectedNumArray, $numArray->mean(0));
    }