Lines Matching refs:first
54 std::pair<S, T> first() const { in first() function
80 return high->first == x ? high->second : low->second; in findY()
82 return ((high->first - x) * low->second + (x - low->first) * high->second) in findY()
83 / (high->first - low->first); in findY()
89 const S interval = high->first - low->first; in findY()
92 if (mMemo.count(low->first) != 0) { in findY()
93 const S t = (x - low->first) / interval; in findY()
95 const auto &memo = mMemo[low->first]; in findY()
129 ? (low->second - low2->second) / (low->first - low2->first) in findY()
132 ? (high2->second - high->second) / (high2->first - high->first) in findY()
141 ? (high->second - low2->second) / (high->first - low2->first) in findY()
145 ? (high2->second - low->second) / (high2->first - low->first) in findY()
167 const S t = (x - low->first) / interval; in findY()
178 mMemo[low->first] = std::make_tuple(c1, c2, c3); in findY()
244 config->xy.push_back(pt.first); in writeToConfig()
296 bool first = true; in toString() local
298 if (first) { in toString()
299 first = false; in toString()
304 ss << pt.first << ", " << pt.second << "}"; in toString()