.. index:: pair: struct; gpr::ski::InterpolationWeights .. _doxid-structgpr_1_1ski_1_1_interpolation_weights: struct gpr::ski::InterpolationWeights ===================================== .. toctree:: :hidden: Overview ~~~~~~~~ One-dimensional interpolation onto a uniform grid: for each input the four grid weights and, separately, their derivative with respect to the input. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct InterpolationWeights { // fields Eigen::MatrixXd :ref:`W`; Eigen::MatrixXd :ref:`dW`; Eigen::Index :ref:`out_of_grid`; }; .. _details-structgpr_1_1ski_1_1_interpolation_weights: 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 ------ .. index:: pair: variable; W .. _doxid-structgpr_1_1ski_1_1_interpolation_weights_1a3383da353289dedd8b832843897a7bb6: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::MatrixXd W n x m, rows sum to 1 on interior points .. index:: pair: variable; dW .. _doxid-structgpr_1_1ski_1_1_interpolation_weights_1aa2bf588ef6ebbf92bd9693bb53308327: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::MatrixXd dW n x m, d/dx of each row .. index:: pair: variable; out_of_grid .. _doxid-structgpr_1_1ski_1_1_interpolation_weights_1a350ab4b2bb9cb7307934c23a1b1de55d: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::Index out_of_grid inputs with no support