Loading...
Searching...
No Matches
PriorUnif.cpp
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
2// Copyright (c) gpridge developers
3// See LICENSE for details.
4
5/*
6 * PriorUnif.cpp
7 *
8 * Created on: 10 Jul 2020
9 * Author: Maxim Masterov
10 * Company: SURFSara
11 */
12
13#include "PriorUnif.h"
14
15namespace gpr {
16
18{
19 return 0.;
20}
21
23{
24 FieldMatrixd lpg;
25
26 lpg.resize(x.rows(), x.cols());
27 lpg.setZero();
28
29 return lpg;
30}
31
32} /* namespace gpr */
@ x
Definition Enums.h:28
double calculateLogPrior(const FieldMatrixd &x) override
Definition PriorUnif.cpp:17
FieldMatrixd calculateLogPriorGradient(const FieldMatrixd &x) override
Definition PriorUnif.cpp:22
Gaussian-process regression, kernels, priors, and the searches that run on the surrogate.
Definition Macros.h:16
Eigen::Matrix< double, EigenDynamic, EigenDynamic, FieldMatrixStorage > FieldMatrixd
Definition Macros.h:25