public function testOuterProduct(array $A, array $B, array $R) { $A = new Vector($A); $B = new Vector($B); $R = new Matrix($R); $this->assertEquals($R, $A->outerProduct($B)); }