The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... 
Home MathPack Matrix Classes TIntMatrix, TMatrix and TMat3D Methods CalcHatMatrix  
See also: CalcHatMatrix (OpenArrays), Invert  
CalcHatMatrix 

The function CalcHatMatrix calculates the hat matrix and stores the result in matrix HatMat: HatMat := X(X^{T}X)^{1}X^{T} The function returns a TRUE value if the hat matrix has been calculated correctly. The reasons for a returned FALSE value might be one of the following:
