struct gpr::ski::InterpolationWeights¶
Overview¶
One-dimensional interpolation onto a uniform grid: for each input the four grid weights and, separately, their derivative with respect to the input. More…
#include <gpr/ml/gp/DerivativeSKI.h>
struct InterpolationWeights {
// fields
Eigen::MatrixXd W;
Eigen::MatrixXd dW;
Eigen::Index out_of_grid;
};
Detailed Documentation¶
One-dimensional interpolation onto a uniform grid: for each input the four grid weights and, separately, their derivative with respect to the input. Points outside the grid interior get no weights, which is reported rather than clamped: silently clamping would fabricate covariance at the boundary.
Fields¶
Eigen::MatrixXd W
n x m, rows sum to 1 on interior points
Eigen::MatrixXd dW
n x m, d/dx of each row
Eigen::Index out_of_grid
inputs with no support