#include <TableInterpolator.hpp>
|
| | ScatteredTableND (const janus::NumericMatrix &points, const janus::NumericVector &values, int grid_resolution=20, RBFKernel kernel=RBFKernel::ThinPlateSpline, double epsilon=1.0, janus::InterpolationMethod method=janus::InterpolationMethod::Linear) |
| | Construct N-D scattered interpolation table.
|
| | ScatteredTableND (const janus::NumericMatrix &points, const janus::NumericVector &values, const std::vector< janus::NumericVector > &grid_points, RBFKernel kernel=RBFKernel::ThinPlateSpline, double epsilon=1.0, janus::InterpolationMethod method=janus::InterpolationMethod::Linear) |
| | Construct with explicit per-dimension grid specification.
|
| template<janus::JanusScalar Scalar> |
| Scalar | operator() (const janus::JanusVector< Scalar > &x) const |
| | Query table at a single N-D point.
|
| double | reconstruction_error () const |
| | Get RMS reconstruction error at original data points.
|
| int | dims () const |
| | Get number of input dimensions.
|
| bool | valid () const |
| | Check if table is valid (initialized).
|
◆ ScatteredTableND() [1/2]
| vulcan::ScatteredTableND::ScatteredTableND |
( |
const janus::NumericMatrix & | points, |
|
|
const janus::NumericVector & | values, |
|
|
int | grid_resolution = 20, |
|
|
RBFKernel | kernel = RBFKernel::ThinPlateSpline, |
|
|
double | epsilon = 1.0, |
|
|
janus::InterpolationMethod | method = janus::InterpolationMethod::Linear ) |
|
inline |
Construct N-D scattered interpolation table.
- Parameters
-
| points | Data locations, shape (n_points, n_dims) |
| values | Function values at each point (length n_points) |
| grid_resolution | Points per dimension for resampling grid |
| kernel | RBF kernel type (default: ThinPlateSpline) |
| epsilon | Shape parameter for Multiquadric/Gaussian kernels |
| method | Gridded interpolation method for final queries |
- Exceptions
-
| janus::InterpolationError | if inputs are invalid |
- Examples
- /home/runner/work/vulcan/vulcan/include/vulcan/core/TableInterpolator.hpp.
◆ ScatteredTableND() [2/2]
| vulcan::ScatteredTableND::ScatteredTableND |
( |
const janus::NumericMatrix & | points, |
|
|
const janus::NumericVector & | values, |
|
|
const std::vector< janus::NumericVector > & | grid_points, |
|
|
RBFKernel | kernel = RBFKernel::ThinPlateSpline, |
|
|
double | epsilon = 1.0, |
|
|
janus::InterpolationMethod | method = janus::InterpolationMethod::Linear ) |
|
inline |
Construct with explicit per-dimension grid specification.
- Parameters
-
| points | Data locations, shape (n_points, n_dims) |
| values | Function values at each point |
| grid_points | Explicit grid coordinates per dimension |
| kernel | RBF kernel type |
| epsilon | Shape parameter for Multiquadric/Gaussian kernels |
| method | Gridded interpolation method for final queries |
◆ dims()
| int vulcan::ScatteredTableND::dims |
( |
| ) |
const |
|
inline |
◆ operator()()
template<janus::JanusScalar Scalar>
| Scalar vulcan::ScatteredTableND::operator() |
( |
const janus::JanusVector< Scalar > & | x | ) |
const |
|
inline |
◆ reconstruction_error()
| double vulcan::ScatteredTableND::reconstruction_error |
( |
| ) |
const |
|
inline |
◆ valid()
| bool vulcan::ScatteredTableND::valid |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: