NumPHPTest\Core\NumArray\DotTest::testDotVectorVector PHP 메소드

testDotVectorVector() 공개 메소드

Tests NumArray::dot with two vectors
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));
    }