class gpr::ski::UniformGrid¶
Overview¶
Uniform grid of m points spanning [lo, hi] with two cells of padding, so every interior input keeps its full four-point stencil. More…
#include <gpr/ml/gp/DerivativeSKI.h>
class UniformGrid {
public:
// construction
UniformGrid(double lo, double hi, Eigen::Index m);
// methods
Eigen::Index size() const;
double spacing() const;
double at(Eigen::Index i) const;
double indexOf(double x) const;
};
Detailed Documentation¶
Uniform grid of m points spanning [lo, hi] with two cells of padding, so every interior input keeps its full four-point stencil.
Methods¶
double indexOf(double x) const
Grid coordinate of x in index units.