Searched refs:absNew (Results 1 – 1 of 1) sorted by relevance
49 …RealScalar absNew = internal::real(residual.dot(p)); // the square of the absolute value of r sca… in conjugate_gradient() local58 Scalar alpha = absNew / p.dot(tmp); // the amount we travel on dir in conjugate_gradient()68 RealScalar absOld = absNew; in conjugate_gradient()69 absNew = internal::real(residual.dot(z)); // update the absolute value of r in conjugate_gradient()70 …RealScalar beta = absNew / absOld; // calculate the Gram-Schmidt value used to create t… in conjugate_gradient()