gls
GLS Generalized least squares (Octave name). BETA = GLS(Y, X, O) solves Y = X*BETA + E with error covariance proportional to O. MATLAB portable path is weighted least squares / lscov. Unmarked MATLAB-mode scripts that never call this name are unaffected. See also OLS, LSCOV.