Lines Matching full:temp
20 Scalar sum, temp, alpha, bnorm;
34 temp = qrfac(j,j);
35 if (temp == 0.) {
36 temp = epsmch * qrfac.col(j).head(j+1).maxCoeff();
37 if (temp == 0.)
38 temp = epsmch;
41 x[j] = qtb[j] / temp;
43 x[j] = (qtb[j] - qrfac.row(j).tail(n-j-1).dot(x.tail(n-j-1))) / temp;
82 temp = wa2.stableNorm();
83 sgnorm = gnorm / temp / temp;
94 temp = bnorm / gnorm * (bnorm / qnorm) * (sgnorm / delta);
95 temp = temp - delta / qnorm * numext::abs2(sgnorm / delta) + sqrt(numext::abs2(temp - delta / qnorm) + (1.-numext::abs2(delta / qnorm)) * (1.-numext::abs2(sgnorm / delta)));
96 alpha = delta / qnorm * (1. - numext::abs2(sgnorm / delta)) / temp;
101 temp = (1.-alpha) * (std::min)(sgnorm,delta);
102 x = temp * wa1 + alpha * x;