Searched refs:n_samples (Results 1 – 1 of 1) sorted by relevance
50 static float linear_regression(float *x_values, float *y_values, uint8_t n_samples) in linear_regression() argument52 if (n_samples == 0) { in linear_regression()61 for (uint8_t i = 0; i < n_samples; i++) { in linear_regression()69 for (uint8_t i = 0; i < n_samples; i++) { in linear_regression()151 static float estimate_distance_using_time_of_flight(uint8_t n_samples) in estimate_distance_using_time_of_flight() argument157 for (uint8_t i = 0; i < n_samples; i++) { in estimate_distance_using_time_of_flight()