Template Function navtk::utils::linear_interpolate(const aspn_xtensor::TypeTimestamp&, const Y&, const aspn_xtensor::TypeTimestamp&, const Y&, const aspn_xtensor::TypeTimestamp&)
Defined in File interpolation.hpp
Function Documentation
-
template<typename Y>
Y navtk::utils::linear_interpolate(const aspn_xtensor::TypeTimestamp &x0, const Y &y0, const aspn_xtensor::TypeTimestamp &x1, const Y &y1, const aspn_xtensor::TypeTimestamp &x) Performs a linear interpolation.
This is an approximation of y at x, given two reference points (
x0,y0) and (x1,y1).