Searched refs:polynomial_in (Results 1 – 1 of 1) sorted by relevance
116 Vector RemoveLeadingZeros(const Vector& polynomial_in) { in RemoveLeadingZeros() argument118 while (i < (polynomial_in.size() - 1) && polynomial_in(i) == 0.0) { in RemoveLeadingZeros()121 return polynomial_in.tail(polynomial_in.size() - i); in RemoveLeadingZeros()182 bool FindPolynomialRoots(const Vector& polynomial_in, in FindPolynomialRoots() argument185 if (polynomial_in.size() == 0) { in FindPolynomialRoots()190 Vector polynomial = RemoveLeadingZeros(polynomial_in); in FindPolynomialRoots()193 VLOG(3) << "Input polynomial: " << polynomial_in.transpose(); in FindPolynomialRoots()194 if (polynomial.size() != polynomial_in.size()) { in FindPolynomialRoots()