numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Class to interpolate using Gaussian process. More...
#include <num_collect/rbf/gaussian_process_interpolator.h>
Public Types | |
using | base_type |
Type of the base class. | |
Public Member Functions | |
void | compute (const std::vector< variable_type > &variables, const function_value_vector_type &function_values) |
Compute parameters for interpolation. | |
auto | evaluate_mean_and_variance_on (const variable_type &variable) const -> std::pair< function_value_type, function_value_type > |
Evaluate mean and variance in the gaussian process for a variable. | |
Private Attributes | |
function_value_type | common_coeff_ {} |
Common coefficients for RBF. | |
Static Private Attributes | |
static constexpr auto | reg_param = static_cast<kernel_value_type>(0) |
Regularization parameter. | |
Class to interpolate using Gaussian process.
FunctionSignature | Signature of the function to interpolate. (Example: double(double) , double(Eigen::Vector3d) , ...) |
RBF | Type of the RBF. |
KernelMatrixType | Type of kernel matrices. |
DistanceFunction | Type of the distance function. |
Definition at line 60 of file gaussian_process_interpolator.h.
using num_collect::rbf::gaussian_process_interpolator< FunctionSignature, RBF, KernelMatrixType, DistanceFunction >::base_type |
Type of the base class.
Definition at line 68 of file gaussian_process_interpolator.h.
|
inline |
Compute parameters for interpolation.
[in] | variables | Variables. |
[in] | function_values | Function values. |
Definition at line 89 of file gaussian_process_interpolator.h.
|
inlinenodiscard |
Evaluate mean and variance in the gaussian process for a variable.
[in] | variable | Variable on which the function value is interpolated. |
Definition at line 102 of file gaussian_process_interpolator.h.
|
private |
Common coefficients for RBF.
Definition at line 134 of file gaussian_process_interpolator.h.
|
staticconstexprprivate |
Regularization parameter.
Definition at line 129 of file gaussian_process_interpolator.h.