Lines Matching refs:degree
254 "estimator (degree=%d, xCoeff=%s, yCoeff=%s, confidence=%f)",
256 int(estimator.degree),
257 vectorToString(estimator.xCoeff, estimator.degree + 1).string(),
258 vectorToString(estimator.yCoeff, estimator.degree + 1).string(),
337 if (getEstimator(id, &estimator) && estimator.degree >= 1) {
358 uint32_t degree, Weighting weighting) :
359 mDegree(degree), mWeighting(weighting) {
392 * Solves a linear least squares problem to obtain a N degree polynomial that fits
593 uint32_t degree = mDegree;
594 if (degree > m - 1) {
595 degree = m - 1;
597 if (degree >= 1) {
599 uint32_t n = degree + 1;
603 outEstimator->degree = degree;
606 ALOGD("estimate: degree=%d, xCoeff=%s, yCoeff=%s, confidence=%f",
607 int(outEstimator->degree),
620 outEstimator->degree = 0;
695 IntegratingVelocityTrackerStrategy::IntegratingVelocityTrackerStrategy(uint32_t degree) :
696 mDegree(degree) {
743 state.degree = 0;
767 if (state.degree == 0) {
770 state.degree = 1;
779 if (state.degree == 1) {
782 state.degree = 2;
799 outEstimator->degree = state.degree;
920 outEstimator->degree = 1;
922 outEstimator->degree = 0;