Searched refs:last_element_index_ (Results 1 – 2 of 2) sorted by relevance
41 last_element_index_ = -1; in InterpolatorBase()111 last_element_index_ = data_length - 1; in Initialize()113 for (int n = 0; n < last_element_index_; ++n) { in Initialize()152 if (cached_index_ >= last_element_index_) { in Interpolate()153 cached_index_ = last_element_index_; in Interpolate()154 return y_data_[last_element_index_]; in Interpolate()157 if (cached_index_ + 2 > last_element_index_) { in Interpolate()158 cached_index_ = last_element_index_ - 1; in Interpolate()159 return y_data_[last_element_index_]; in Interpolate()164 if (x >= x_data_[last_element_index_]) { in Interpolate()[all …]
93 int last_element_index_; variable