Home
last modified time | relevance | path

Searched refs:iMid (Results 1 – 1 of 1) sorted by relevance

/aoo41x/main/sc/source/core/tool/
H A Dinterpr3.cxx3130 vector<double>::iterator iMid = rArray.begin() + nMid; in GetMedian() local
3131 ::std::nth_element( rArray.begin(), iMid, rArray.end()); in GetMedian()
3133 return *iMid; // Lower and upper median are equal. in GetMedian()
3136 double fUp = *iMid; in GetMedian()
3138 iMid = rArray.begin() + nMid - 1; in GetMedian()
3139 ::std::nth_element( rArray.begin(), iMid, rArray.end()); in GetMedian()
3140 return (fUp + *iMid) / 2; in GetMedian()

Completed in 51 milliseconds