337338339340341342343
} if (YTYpartial != null) { YTY = YTY == null ? YTYpartial : YTY.add(YTYpartial); } } return new LinearSystemSolver().getSolver(YTY); }
122123124125126127128
try { XTX = VectorMath.transposeTimesSelf(X.values()); } finally { lock.unlock(); } return new LinearSystemSolver().getSolver(XTX); }
134135136137138139140
try { YTY = VectorMath.transposeTimesSelf(Y.values()); } finally { lock.unlock(); } return new LinearSystemSolver().getSolver(YTY); }