Lines Matching refs:temp
17 Scalar sum, temp, alpha, bnorm;
31 temp = qrfac(j,j);
32 if (temp == 0.) {
33 temp = epsmch * qrfac.col(j).head(j+1).maxCoeff();
34 if (temp == 0.)
35 temp = epsmch;
38 x[j] = qtb[j] / temp;
40 x[j] = (qtb[j] - qrfac.row(j).tail(n-j-1).dot(x.tail(n-j-1))) / temp;
79 temp = wa2.stableNorm();
80 sgnorm = gnorm / temp / temp;
91 temp = bnorm / gnorm * (bnorm / qnorm) * (sgnorm / delta);
92 temp = temp - delta / qnorm * abs2(sgnorm / delta) + sqrt(abs2(temp - delta / qnorm) + (1.-abs2(delta / qnorm)) * (1.-abs2(sgnorm / delta)));
93 alpha = delta / qnorm * (1. - abs2(sgnorm / delta)) / temp;
98 temp = (1.-alpha) * (std::min)(sgnorm,delta);
99 x = temp * wa1 + alpha * x;