public testMeanMatrix ( ) |
public function testMeanMatrix()
{
$numArray = NumPHP::arange(1, 6)->reshape(2, 3);
$expectedNumArray = new NumArray(3.5);
$this->assertNumArrayEquals($expectedNumArray, $numArray->mean());
}