Abstract operator interface for K^{-1} actions used by Laplace Hessian probe loops and Williams-Rasmussen polarisation curvature. More...
Go to the source code of this file.
Classes | |
| class | gpr::linalg::KernelInverse |
Namespaces | |
| namespace | gpr |
| Gaussian-process regression, kernels, priors, and the searches that run on the surrogate. | |
| namespace | gpr::linalg |
| Dense and structured linear algebra behind the GP: Cholesky and eigen solvers, linear operators, backend selection. | |
Abstract operator interface for K^{-1} actions used by Laplace Hessian probe loops and Williams-Rasmussen polarisation curvature.
The interface separates two orthogonal concerns:
Each concrete implementation declares whether its solve / solve_mat run rank-locally (so the probe loop benefits from probe-level round-robin across ranks) or are themselves MPI collectives (so the probe loop must run sequentially because partitioning would deadlock at the next pdtrsm).
All operators expose four ops:
solve(b) -> x with K x = b solve_mat(B) -> X with K X = B log_det() -> log determinant of K trace_inv_times(A) -> tr(K^{-1} A)
Mathematical contract: each op must agree with a dense Cholesky reference on the unit-test fixture to a backend-specific tolerance documented at the impl's factorise() entry point.
Definition in file KernelInverse.h.