Not sure if it works on unsupported systems:
```c++
values_at_interpol_pnts.resize(points_to_interpolate.size());
std::transform(points_to_interpolate.begin(), points_to_interpolate.end(),
    values_at_interpol_pnts.begin(), 
    [](double const& p) { return this->getValue(p); }
);
```