usage:
std::vector<NumericVector> grid = {x_pts, y_pts};
values << 0, 1, 1, 2;
query << 0.5, 0.5;
double result = interp(query);
Definition Interpolate.hpp:489
JanusVector< NumericScalar > NumericVector
Eigen::VectorXd equivalent.
Definition JanusTypes.hpp:67
- Note
- Interpolator caches numeric table data. For symbolic table values that must remain optimization variables, use the free interpn() overloads instead.