public function getH()
    {
        for ($i = 0; $i < $this->m; ++$i) {
            for ($j = 0; $j < $this->n; ++$j) {
                if ($i >= $j) {
                    $H[$i][$j] = $this->QR[$i][$j];
                } else {
                    $H[$i][$j] = 0.0;
                }
            }
        }
        return new PHPExcel_Shared_JAMA_Matrix($H);
    }
public function getH()
    {
        for ($i = 0; $i < $this->m; ++$i) {
            for ($j = 0; $j < $this->n; ++$j) {
                if ($i >= $j) {
                    $H[$i][$j] = $this->QR[$i][$j];
                } else {
                    $H[$i][$j] = 0.0;
                }
            }
        }
        return new PHPExcel_Shared_JAMA_Matrix($H);
    }
public function getH ( ) { for ( $ i = 0 ; $ i < $ this -> m ; ++ $ i ) { for ( $ j = 0 ; $ j < $ this -> n ; ++ $ j ) { if ( $ i >= $ j ) { $ H [ $ i ] [ $ j ] = $ this -> QR [ $ i ] [ $ j ] ; } else { $ H [ $ i ] [ $ j ] = 0.0 ; } } } return new PHPExcel_Shared_JAMA_Matrix ( $ H ) ; }
Return the Householder vectors

@return Matrix Lower trapezoidal matrix whose columns define the reflections
Return the Householder vectors