INTERNAL function to obtain (orthogonal) basis for the null space and range space of the penalty, and obtain actual null space dimension components are roughly rescaled to avoid any dominating.
totalPenaltySpace(S, H, off, p)
a list of penalty matrices, in packed form.
the coefficient matrix of an user supplied fixed quadratic penalty on the parameters of the GAM.
a vector where the i-th element is the offset for the i-th matrix.
total number of parameters.
A list of matrix square roots such that S[[i]]=B[[i]]%*%t(B[[i]])
.