Lines Matching refs:degree
424 LeastSquaresVelocityTrackerStrategy::LeastSquaresVelocityTrackerStrategy(uint32_t degree, in LeastSquaresVelocityTrackerStrategy() argument
428 mDegree(degree), in LeastSquaresVelocityTrackerStrategy()
660 uint32_t degree = mDegree; in getVelocity() local
661 if (degree > size - 1) { in getVelocity()
662 degree = size - 1; in getVelocity()
665 if (degree <= 0) { in getVelocity()
669 if (degree == 2 && mWeighting == Weighting::NONE) { in getVelocity()
689 return solveLeastSquares(time, positions, w, degree + 1); in getVelocity()
761 IntegratingVelocityTrackerStrategy::IntegratingVelocityTrackerStrategy(uint32_t degree) : in IntegratingVelocityTrackerStrategy() argument
762 mDegree(degree) { in IntegratingVelocityTrackerStrategy()
795 state.degree = 0; in initState()
815 if (state.degree == 0) { in updateState()
817 state.degree = 1; in updateState()
824 if (state.degree == 1) { in updateState()
826 state.degree = 2; in updateState()