public testDotMatrixScalar ( ) |
public function testDotMatrixScalar()
{
$numArray = NumPHP::arange(1, 12)->reshape(3, 4);
$expectedNumArray = NumPHP::arange(5, 60, 5)->reshape(3, 4);
$this->assertNumArrayEquals($expectedNumArray, $numArray->dot(5));
}