public function directProduct(Vector $B) : Matrix { $A = $this->asColumnMatrix(); $Bᵀ = $B->asRowMatrix(); return $A->kroneckerProduct($Bᵀ); }