GPRidge v1.0.0
GPR-accelerated saddle point searches on potential energy surfaces
☾
Toggle main menu visibility
Loading...
Searching...
No Matches
PortableMath.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: MIT
2
// Copyright (c) gpridge developers
3
// See LICENSE for details.
4
#ifndef GPR_NUMERICS_PORTABLE_MATH_H_
5
#define GPR_NUMERICS_PORTABLE_MATH_H_
6
7
namespace
gpr::numerics
{
8
// GP elementary functions have one binary64 rounding across host libraries.
9
// Explicit names keep the potential calculators on their own math libraries.
10
double
exp
(
double
x
)
noexcept
;
11
double
log
(
double
x
)
noexcept
;
12
double
lgamma
(
double
x
)
noexcept
;
13
double
erf
(
double
x
)
noexcept
;
14
double
erfc
(
double
x
)
noexcept
;
15
}
// namespace gpr::numerics
16
17
#endif
x
@ x
Definition
Enums.h:28
gpr::numerics
Definition
DecisionBand.h:13
gpr::numerics::erf
double erf(double x) noexcept
Definition
PortableMath.cpp:88
gpr::numerics::lgamma
double lgamma(double x) noexcept
Definition
PortableMath.cpp:28
gpr::numerics::erfc
double erfc(double x) noexcept
Definition
PortableMath.cpp:112
gpr::numerics::log
double log(double x) noexcept
Definition
PortableMath.cpp:24
gpr::numerics::exp
double exp(double x) noexcept
Definition
PortableMath.cpp:20
gpr
numerics
PortableMath.h
Generated by
1.17.0
Generated by
Doxygen 1.17.0
Analytics by
Antics
provided by
TurtleTech ehf