Searched refs:absNew (Results 1 – 1 of 1) sorted by relevance
66 …RealScalar absNew = numext::real(residual.dot(p)); // the square of the absolute value of r scale… in conjugate_gradient() local72 Scalar alpha = absNew / p.dot(tmp); // the amount we travel on dir in conjugate_gradient()82 RealScalar absOld = absNew; in conjugate_gradient()83 absNew = numext::real(residual.dot(z)); // update the absolute value of r in conjugate_gradient()84 …RealScalar beta = absNew / absOld; // calculate the Gram-Schmidt value used to create t… in conjugate_gradient()