GPRidge v1.0.0
GPR-accelerated saddle point searches on potential energy surfaces
☾
Toggle main menu visibility
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
15
namespace
gpr
{
16
17
double
PriorUnif::calculateLogPrior
(
const
FieldMatrixd
&
/*x*/
)
18
{
19
return
0.;
20
}
21
22
FieldMatrixd
PriorUnif::calculateLogPriorGradient
(
const
FieldMatrixd
&
x
)
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
@ x
Definition
Enums.h:28
PriorUnif.h
gpr::PriorUnif::calculateLogPrior
double calculateLogPrior(const FieldMatrixd &x) override
Definition
PriorUnif.cpp:17
gpr::PriorUnif::calculateLogPriorGradient
FieldMatrixd calculateLogPriorGradient(const FieldMatrixd &x) override
Definition
PriorUnif.cpp:22
gpr
Gaussian-process regression, kernels, priors, and the searches that run on the surrogate.
Definition
Macros.h:16
gpr::FieldMatrixd
Eigen::Matrix< double, EigenDynamic, EigenDynamic, FieldMatrixStorage > FieldMatrixd
Definition
Macros.h:25
gpr
prior
PriorUnif.cpp
Generated by
1.17.0
Generated by
Doxygen 1.17.0
Analytics by
Antics
provided by
TurtleTech ehf