Searched refs:medianSlopes (Results 1 – 1 of 1) sorted by relevance
128 std::vector<float> medianSlopes; in theilSenSiegelLinearRegression() local149 medianSlopes.push_back(destructiveMedian(slopes)); in theilSenSiegelLinearRegression()152 DE_ASSERT(!medianSlopes.empty()); in theilSenSiegelLinearRegression()155 std::sort(medianSlopes.begin(), medianSlopes.end()); in theilSenSiegelLinearRegression()156 result.coefficient = linearSample(medianSlopes, 0.5f); in theilSenSiegelLinearRegression()167 result.coefficientConfidenceLower = linearSample(medianSlopes, 0.5f - reportedConfidence*0.5f); in theilSenSiegelLinearRegression()168 result.coefficientConfidenceUpper = linearSample(medianSlopes, 0.5f + reportedConfidence*0.5f); in theilSenSiegelLinearRegression()