|
Metis 2.0.0
High-performance C++20 dual-mode numerical framework
|
RBF-based interpolation for unstructured scattered data. More...
#include "metis/core/MetisConcepts.hpp"#include "metis/core/MetisError.hpp"#include "metis/core/MetisTypes.hpp"#include "metis/math/Interpolate.hpp"#include "metis/math/Linalg.hpp"#include <cmath>#include <vector>

Go to the source code of this file.
Classes | |
| class | metis::ScatteredInterpolator |
Namespaces | |
| namespace | metis |
| namespace | metis::detail |
| Smooth approximation of ReLU function: softplus(x) = (1/beta) * log(1 + exp(beta * x)). | |
Enumerations | |
| enum class | metis::RBFKernel { metis::ThinPlateSpline , metis::Multiquadric , metis::Gaussian , metis::Linear , metis::Cubic } |
| Radial basis function kernel types for scattered interpolation. More... | |
Functions | |
| double | metis::detail::rbf_phi (double r, RBFKernel kernel, double epsilon=1.0) |
| Evaluate RBF kernel φ(r) for a given distance. | |
| double | metis::detail::euclidean_distance (const double *p1, const double *p2, int dims) |
| Compute Euclidean distance between two points. | |
Variables | |
| constexpr double | metis::detail::rbf_regularization = 1e-10 |
| Regularization term for RBF interpolation matrix to prevent singularity. | |
| constexpr double | metis::detail::rbf_zero_threshold = 1e-15 |
| Threshold below which thin-plate spline uses linear fallback to avoid log(0). | |
RBF-based interpolation for unstructured scattered data.