Lines Matching refs:degree
255 "estimator (degree=%d, xCoeff=%s, yCoeff=%s, confidence=%f)",
257 int(estimator.degree),
258 vectorToString(estimator.xCoeff, estimator.degree + 1).string(),
259 vectorToString(estimator.yCoeff, estimator.degree + 1).string(),
338 if (getEstimator(id, &estimator) && estimator.degree >= 1) {
359 uint32_t degree, Weighting weighting) :
360 mDegree(degree), mWeighting(weighting) {
393 * Solves a linear least squares problem to obtain a N degree polynomial that fits
594 uint32_t degree = mDegree;
595 if (degree > m - 1) {
596 degree = m - 1;
598 if (degree >= 1) {
600 uint32_t n = degree + 1;
604 outEstimator->degree = degree;
607 ALOGD("estimate: degree=%d, xCoeff=%s, yCoeff=%s, confidence=%f",
608 int(outEstimator->degree),
621 outEstimator->degree = 0;
696 IntegratingVelocityTrackerStrategy::IntegratingVelocityTrackerStrategy(uint32_t degree) :
697 mDegree(degree) {
744 state.degree = 0;
768 if (state.degree == 0) {
771 state.degree = 1;
780 if (state.degree == 1) {
783 state.degree = 2;
800 outEstimator->degree = state.degree;
921 outEstimator->degree = 1;
923 outEstimator->degree = 0;