GPRidge v1.0.0
GPR-accelerated saddle point searches on potential energy surfaces
☾
Toggle main menu visibility
Loading...
Searching...
No Matches
ConstantCF.inl
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
// ConstantCF.inl
7
// gpr_dimer
8
//
9
// Created by Maxim Masterov on 21/01/2021.
10
//
11
12
#ifndef ConstantCF_inl
13
#define ConstantCF_inl
14
15
namespace
gpr
{
16
17
inline
void
ConstantCF::setConstSigma2
(
const
double
_constSigma2)
18
{
19
constSigma2 = _constSigma2;
20
}
21
22
inline
void
ConstantCF::setParameters
(
const
Eigen::VectorXd&
/*w*/
)
23
{
24
// No-op: constSigma2 is not optimized by SCG (combineParameters returns
25
// empty), so it must not be unpacked from the shared parameter vector w.
26
// The MATLAB gpcf_constant_unpak only unpacks when the parameter is in the
27
// optimization set; since combineParameters() is empty, it never is.
28
}
29
30
inline
double
ConstantCF::getConstSigma2
()
31
{
32
return
constSigma2;
33
}
34
35
inline
Eigen::VectorXd
ConstantCF::combineParameters
()
36
{
37
Eigen::VectorXd res;
38
return
res;
39
}
40
41
}
/* namespace gpr */
42
43
#endif
/* ConstantCF_inl */
gpr::ConstantCF::getConstSigma2
double getConstSigma2()
Definition
ConstantCF.inl:30
gpr::ConstantCF::setParameters
void setParameters(const Eigen::VectorXd &w)
Set parameters of this covariance function using the provided vector.
Definition
ConstantCF.inl:22
gpr::ConstantCF::combineParameters
Eigen::VectorXd combineParameters()
Combine parameters of the covariance function into one Eigen vector.
Definition
ConstantCF.inl:35
gpr::ConstantCF::setConstSigma2
void setConstSigma2(const double _constSigma2)
Set the constSigma2 value.
Definition
ConstantCF.inl:17
gpr
Gaussian-process regression, kernels, priors, and the searches that run on the surrogate.
Definition
Macros.h:16
gpr
covariance_functions
ConstantCF.inl
Generated by
1.17.0
Generated by
Doxygen 1.17.0
Analytics by
Antics
provided by
TurtleTech ehf