I know that the calculation of parameter values of a standard OLS can be made more efficient using a QR decomposition;
i.e. if $X=QR$ and we are using the model $Y=X\beta+\epsilon$;
Then it is true that $R\beta=Q^TY$ and therefore we can make the computation of $\hat{\beta}$ more efficient.
My question is, is there an equivalent QR decomposition trick for the generalised least squares estimator:
$\hat{\beta}=(X^TWX)^{-1}X^TWY$