namespace gpr::ski¶
Overview¶
namespace ski {
// structs
struct DSkipReport;
struct InterpolationWeights;
// classes
class DerivativeSKI;
class UniformGrid;
// global functions
double cubicConvolutionWeight(double s);
double cubicConvolutionWeightDerivative(double s);
InterpolationWeights interpolate(const UniformGrid& grid, const Eigen::VectorXd& x);
Eigen::MatrixXd lanczosLowRank(const Eigen::MatrixXd& A, double tol, Eigen::Index max_rank);
DSkipReport dskipProduct(const Eigen::MatrixXd& x, const Eigen::VectorXd& lengthscales, double tol, Eigen::Index max_rank);
} // namespace ski
Detailed Documentation¶
Global Functions¶
double cubicConvolutionWeight(double s)
Keys’ cubic convolution weight and its derivative, the interpolation D-SKI differentiates. w has support abs(s) < 2 and reproduces cubics exactly.
Eigen::MatrixXd lanczosLowRank(const Eigen::MatrixXd& A, double tol, Eigen::Index max_rank)
Compress a symmetric PSD matrix to the rank capturing tol of its trace, by Lanczos. Returns the factor Q S^{1/2} with A ~ F F^T.
DSkipReport dskipProduct(const Eigen::MatrixXd& x, const Eigen::VectorXd& lengthscales, double tol, Eigen::Index max_rank)
Run the D-SKIP product over per-dimension SE factors and report whether the rank stayed bounded. x is n x d; one lengthscale per column.