Loading...
Searching...
No Matches
KernelInverse.h File Reference

Abstract operator interface for K^{-1} actions used by Laplace Hessian probe loops and Williams-Rasmussen polarisation curvature. More...

#include <Eigen/Core>
#include "../../backend/Macros.h"

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.

Detailed Description

Abstract operator interface for K^{-1} actions used by Laplace Hessian probe loops and Williams-Rasmussen polarisation curvature.

The interface separates two orthogonal concerns:

  1. The factorisation backend (DenseLLT or ScaLAPACK pdpotrf).
  2. The MPI dispatch strategy for the probe loop.

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.