#include <gpr/covariance_functions/Matern52.h>
Public Member Functions | |
| Matern52 (std::shared_ptr< const geometry::CoordinateChart > chart, double magnitude_variance, double length_scale) | |
| double | magnitudeVariance () const noexcept |
| double | lengthScale () const noexcept |
| const geometry::CoordinateChart & | chart () const |
| Eigen::VectorXd | energyDiagonal (const Eigen::MatrixXd &positions) const override |
| Energy self covariance at each geometry, without an all-pairs matrix. | |
| Eigen::MatrixXd | covarianceBlock (const Eigen::MatrixXd &left_positions, const Eigen::MatrixXd &right_positions, Eigen::Index left_channel, Eigen::Index right_channel) const override |
| Covariance between one channel at each set of geometry rows. | |
| MeanFunction | prepareMean (const Eigen::MatrixXd &training, const Eigen::VectorXd &weights) const override |
| Eigen::VectorXd | applyJointCrossCovariance (const Eigen::MatrixXd &left_positions, const Eigen::MatrixXd &right_positions, const Eigen::VectorXd &weights) const override |
| MeanHessianFunction | prepareMeanHessianVector (const Eigen::MatrixXd &training, const Eigen::VectorXd &weights) const override |
| MeanHessianPreparation | prepareMeanHessian (const Eigen::MatrixXd &training, const Eigen::VectorXd &weights) const override |
| bool | meanHessianVector (const Coord &training, const Eigen::VectorXd &weights, const Eigen::VectorXd &position, const Eigen::VectorXd &direction, Eigen::VectorXd &action) const override |
| MeanCurvature | meanCurvature () const noexcept override |
| Public Member Functions inherited from gpr::KernelOperator | |
| virtual | ~KernelOperator ()=default |
| virtual CrossCovarianceFunction | prepareCrossCovariance (const Eigen::MatrixXd &) const |
| virtual JointCovarianceTileFunction | prepareJointCovarianceTiles (const Eigen::MatrixXd &) const |
| Eigen::MatrixXd | energyCorrelationDistances (const Eigen::MatrixXd &left_positions, const Eigen::MatrixXd &right_positions) const |
| virtual Eigen::MatrixXd | jointEnergyGradientCrossCovariance (const Eigen::MatrixXd &left_positions, const Eigen::MatrixXd &right_positions) const |
| Cross covariance in Observation order on each operand. | |
| virtual Eigen::MatrixXd | jointEnergyGradientCovariance (const Eigen::MatrixXd &positions) const |
| Joint covariance in Observation order [E; G_col0; ...; G_colD-1]. | |
| virtual Eigen::VectorXd | jointEnergyGradientDiagonal (const Eigen::MatrixXd &positions) const |
| Marginal prior variances in the same channel order as the joint matrix. | |
Additional Inherited Members | |
| Public Types inherited from gpr::KernelOperator | |
| enum class | MeanHessianStatus { Computed , Refused , Unavailable } |
| enum class | MeanCurvature { Unknown , Exact , Refused } |
| using | MeanFunction = std::function<Eigen::VectorXd(const Eigen::MatrixXd&)> |
| using | CrossCovarianceFunction |
| using | JointCovarianceTileFunction |
| using | MeanHessianFunction |
| using | HessianAction |
| using | MeanHessianPreparation |
| using | MeanHessianMatrixFunction |
Matérn 5/2 energy-gradient kernel on a fixed chart, beside Pullback(SE).
At chart distance r and length l the energy covariance is sf2 * (1 + sqrt(5) r/l + 5 r^2 / (3 l^2)) * exp(-sqrt(5) r/l). Zero separation returns the signal variance. Gradient channels are the chart pull-back of that radial kernel. This type is not Sexpat.
Definition at line 28 of file Matern52.h.
| gpr::Matern52::Matern52 | ( | std::shared_ptr< const geometry::CoordinateChart > | chart, |
| double | magnitude_variance, | ||
| double | length_scale ) |
Definition at line 28 of file Matern52.cpp.
|
nodiscardoverridevirtual |
Contract the joint cross covariance with coefficients in [E; G] order. Operators can apply their feature contractions without a dense tensor.
Reimplemented from gpr::KernelOperator.
Definition at line 242 of file Matern52.cpp.
|
inlinenodiscard |
Definition at line 41 of file Matern52.h.
|
nodiscardoverridevirtual |
Covariance between one channel at each set of geometry rows.
Implements gpr::KernelOperator.
Definition at line 109 of file Matern52.cpp.
|
nodiscardoverridevirtual |
Energy self covariance at each geometry, without an all-pairs matrix.
Reimplemented from gpr::KernelOperator.
Definition at line 100 of file Matern52.cpp.
|
inlinenodiscardnoexcept |
Definition at line 37 of file Matern52.h.
|
inlinenodiscardnoexcept |
Definition at line 33 of file Matern52.h.
|
inlinenodiscardoverridevirtualnoexcept |
Same contract as Pullback: Exact when the chart supplies a directional Jacobian, Refused when it does not. Unknown would leave an empty preparation for the fourth-order stencil.
Reimplemented from gpr::KernelOperator.
Definition at line 79 of file Matern52.h.
|
nodiscardoverridevirtual |
Hessian action of the scalar kernel expansion with joint [E; G] training coefficients. False denotes an unsupported derivative.
Reimplemented from gpr::KernelOperator.
Definition at line 373 of file Matern52.cpp.
|
nodiscardoverridevirtual |
Immutable fitted coefficients with fresh evaluation at every query. An empty function requests the owning generic covariance product.
Reimplemented from gpr::KernelOperator.
Definition at line 171 of file Matern52.cpp.
|
nodiscardoverridevirtual |
Own the fitted mean coefficients and construct a scoped linear Hessian operator at each requested geometry. No query is retained by the fitted model. An empty preparation requests the directional path.
Reimplemented from gpr::KernelOperator.
Definition at line 250 of file Matern52.cpp.
|
nodiscardoverridevirtual |
Owning fitted derivative coefficients; query geometry is evaluated afresh. An empty function requests the generic scalar-kernel action.
Reimplemented from gpr::KernelOperator.
Definition at line 360 of file Matern52.cpp.