Lines Matching refs:midPoint
1003 const int midPoint = (int)samples.size() / 2; in calculateSampleFitLinearity() local
1004 …const LineParametersWithConfidence startApproximation = fitLineToSamples(samples, 0, midPoint, &T:… in calculateSampleFitLinearity()
1005 …const LineParametersWithConfidence endApproximation = fitLineToSamples(samples, midPoint, (int)sam… in calculateSampleFitLinearity()
1860 const int midPoint = (numSamples+1) / 2; // !< ceil(m_numSamples / 2) in generateTwoPassRandomIterationOrder() local
1868 for (int sampleNdx = 0; sampleNdx < midPoint; ++sampleNdx) in generateTwoPassRandomIterationOrder()
1870 for (int sampleNdx = midPoint; sampleNdx < numSamples; ++sampleNdx) in generateTwoPassRandomIterationOrder()
1871 iterationOrder[sampleNdx] = (sampleNdx - midPoint) * 2 + 1; in generateTwoPassRandomIterationOrder()
1873 for (int ndx = 0; ndx < midPoint; ++ndx) in generateTwoPassRandomIterationOrder()
1874 std::swap(iterationOrder[ndx], iterationOrder[rnd.getInt(0, midPoint - 1)]); in generateTwoPassRandomIterationOrder()
1875 for (int ndx = midPoint; ndx < (int)iterationOrder.size(); ++ndx) in generateTwoPassRandomIterationOrder()
1876 …std::swap(iterationOrder[ndx], iterationOrder[rnd.getInt(midPoint, (int)iterationOrder.size()-1)]); in generateTwoPassRandomIterationOrder()