Home
last modified time | relevance | path

Searched refs:polynomial_in (Results 1 – 1 of 1) sorted by relevance

/external/ceres-solver/internal/ceres/
Dpolynomial.cc116 Vector RemoveLeadingZeros(const Vector& polynomial_in) { in RemoveLeadingZeros() argument
118 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() argument
185 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()