Searched refs:roots_real (Results 1 – 2 of 2) sorted by relevance
303 Vector roots_real; in MinimizePolynomial() local304 if (!FindPolynomialRoots(derivative, &roots_real, NULL)) { in MinimizePolynomial()312 for (int i = 0; i < roots_real.rows(); ++i) { in MinimizePolynomial()313 const double root = roots_real(i); in MinimizePolynomial()
481 Vector roots_real; in FindMinimumOnTrustRegionBoundary() local482 if (!FindPolynomialRoots(polynomial, &roots_real, NULL)) { in FindMinimumOnTrustRegionBoundary()494 for (int i = 0; i < roots_real.size(); ++i) { in FindMinimumOnTrustRegionBoundary()495 const Vector2d x_i = ComputeSubspaceStepFromRoot(roots_real(i)); in FindMinimumOnTrustRegionBoundary()