public testDotVectorVector ( ) |
public function testDotVectorVector()
{
$numArray1 = NumPHP::arange(1, 5);
$numArray2 = NumPHP::arange(4, 12, 2);
$expectedNumArray = new NumArray(140);
$this->assertNumArrayEquals($expectedNumArray, $numArray1->dot($numArray2));
}