Loading...
Searching...
No Matches
ProbeExecutor.h
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
2// Copyright (c) gpridge developers
3// See LICENSE for details.
4
37
38#ifndef GPR_LINALG_PROBE_EXECUTOR_H_
39#define GPR_LINALG_PROBE_EXECUTOR_H_
40
41#include <Eigen/Core>
42#include <functional>
43
44#include "KernelInverse.h"
45#include "MpiContext.h"
46
47namespace gpr {
48namespace linalg {
49
51public:
52 ProbeExecutor() = default;
53
81 [[nodiscard]] Eigen::VectorXd run(
82 int n_probes, const std::function<double(int)>& probe_fn,
83 KernelInverse::Kind kind, const MpiContext& ctx) const;
84};
85
86} // namespace linalg
87} // namespace gpr
88
89#endif // GPR_LINALG_PROBE_EXECUTOR_H_
Abstract operator interface for K^{-1} actions used by Laplace Hessian probe loops and Williams-Rasmu...
Tiny value type describing the MPI dispatch context for a probe loop.
Eigen::VectorXd run(int n_probes, const std::function< double(int)> &probe_fn, KernelInverse::Kind kind, const MpiContext &ctx) const
Dense and structured linear algebra behind the GP: Cholesky and eigen solvers, linear operators,...
Gaussian-process regression, kernels, priors, and the searches that run on the surrogate.
Definition Macros.h:16