rrBLUP_ML0_calc_ZtZplI#
- pybrops.model.gmod.rrBLUPModel0.rrBLUP_ML0_calc_ZtZplI(Z, ridge)[source]#
Calculate (Z’Z + lambda * I).
- Parameters:
Z (numpy.ndarray) – A genotype matrix of shape
(nobs,nmkr)
.ridge (Real) – The ridge parameter, lambda. Must be non-negative.
- Returns:
out – The calculated matrix of shape
(nmkr,nmkr)
.- Return type:
numpy.ndarray