Home
last modified time | relevance | path

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

/external/webrtc/rtc_tools/frame_analyzer/
Dlinear_least_squares.cc189 if (sum_xx && sum_xy) { in AddObservations()
191 *sum_xy += xy; in AddObservations()
194 sum_xy = xy; in AddObservations()
200 RTC_CHECK(sum_xx && sum_xy) << "No observations have been added"; in GetBestSolution()
202 ConvertTo<double>(*sum_xy))); in GetBestSolution()
Dlinear_least_squares.h50 absl::optional<std::valarray<std::valarray<uint64_t>>> sum_xy; variable
/external/adhd/cras/src/server/rust/src/
Drate_estimator.rs37 sum_xy: f64, field
50 self.sum_xy += x * y; in add_sample()
56 let num = self.num_samples as f64 * self.sum_xy - self.sum_x * self.sum_y; in best_fit_slope()