Searched refs:numDistinctX (Results 1 – 2 of 2) sorted by relevance
388 static int numDistinctX (const vector<Vec2>& data) in numDistinctX() function419 if (numDistinctX(data) <= 2) in simpleLinearRegressionError()439 if (numDistinctX(data) <= 2) in verticalVariance()494 if (numDistinctX(rightData) < 3) // We don't trust the right data if there's too little of it. in findSlopePivotX()551 if (numDistinctX(leftData) < 2 || leftLine.coefficient > rightLine.coefficient*0.5f) in computeSegmentedEstimator()