Lines Matching full:coefficient
84 // \note If there are no data point pairs with differing x values, the coefficient variable will stay zero as initialized.
86 result.coefficient = destructiveMedian(pairwiseCoefficients);
88 // Compute the offsets corresponding to the median coefficient, for all data points.
90 pointwiseOffsets.push_back(dataPoints[i].y() - result.coefficient*dataPoints[i].x());
156 result.coefficient = linearSample(medianSlopes, 0.5f);
158 // Compute the offsets corresponding to the median coefficient, for all data points.
160 pointwiseOffsets.push_back(dataPoints[i].y() - result.coefficient*dataPoints[i].x());
363 const float coeffEpsilon = 0.001f; // Coefficient must be large enough (and positive) to be considered sensible.
373 if (estimatorLine.coefficient < coeffEpsilon) // Coefficient not good for sensible estimation; increase call count enough to get a reasonably different value.
377 // Solve newCallCount such that approximately targetFrameTime = offset + coefficient*newCallCount.
378 newCallCount = (int)((targetFrameTimeUs - estimatorLine.offset) / estimatorLine.coefficient + 0.5f);
381 if (estimatorLine.offset + estimatorLine.coefficient*(float)newCallCount < minGoodFrameTimeUs)