Searched refs:absNew (Results 1 – 2 of 2) sorted by relevance
67 …RealScalar absNew = numext::real(normal_residual.dot(p)); // the square of the absolute value of … in least_square_conjugate_gradient() local73 Scalar alpha = absNew / tmp.squaredNorm(); // the amount we travel on dir in least_square_conjugate_gradient()84 RealScalar absOld = absNew; in least_square_conjugate_gradient()85 absNew = numext::real(normal_residual.dot(z)); // update the absolute value of r in least_square_conjugate_gradient()86 …RealScalar beta = absNew / absOld; // calculate the Gram-Schmidt value used to create… in least_square_conjugate_gradient()
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 the… in conjugate_gradient()