The Kernel_RBF class specifies a radial basis function kernel exp(-gamma*|u-v|^2)
More...
#include <Kernel_RBF.hh>
|
| Kernel_RBF (double gamma=1.) |
|
| ~Kernel_RBF () |
|
void | clearCache () const |
|
double | gamma () const |
|
template<typename FV , typename FVGradient > |
void | gradient_of_k_function (const FV &x, const FV &y, FVGradient &gradient) const |
|
template<typename FV > |
double | k_function (const FV &x, const FV &y) const |
|
template<typename STDATA > |
void | loadParameters (STDATA &stData) |
|
template<typename STDATA > |
void | saveParameters (STDATA &stData) const |
|
void | setGamma (double gamma) |
|
template<typename ForwardIter , typename Accessor > |
void | updateCache (const ForwardIter &, const ForwardIter &, Accessor, ProgressReporter *) const |
|
template<typename ForwardIter1 , typename Accessor1 , typename ForwardIter2 , typename Accessor2 > |
void | updateCache (const ForwardIter1 &, const ForwardIter1 &, Accessor1, const ForwardIter2 &, const ForwardIter2 &, Accessor2, ProgressReporter *=0) const |
|
The Kernel_RBF class specifies a radial basis function kernel exp(-gamma*|u-v|^2)
Definition at line 118 of file Kernel_RBF.hh.
◆ Kernel_RBF()
svt::Kernel_RBF::Kernel_RBF |
( |
double |
gamma = 1. | ) |
|
|
inline |
◆ ~Kernel_RBF()
svt::Kernel_RBF::~Kernel_RBF |
( |
| ) |
|
|
inline |
◆ setGamma()
void svt::Kernel_RBF::setGamma |
( |
double |
gamma | ) |
|
|
inline |
◆ gamma()
double svt::Kernel_RBF::gamma |
( |
| ) |
const |
|
inline |
◆ updateCache() [1/2]
template<typename ForwardIter , typename Accessor >
void svt::Kernel_RBF::updateCache |
( |
const ForwardIter & |
, |
|
|
const ForwardIter & |
, |
|
|
Accessor |
, |
|
|
ProgressReporter * |
|
|
) |
| const |
|
inline |
◆ updateCache() [2/2]
template<typename ForwardIter1 , typename Accessor1 , typename ForwardIter2 , typename Accessor2 >
void svt::Kernel_RBF::updateCache |
( |
const ForwardIter1 & |
, |
|
|
const ForwardIter1 & |
, |
|
|
Accessor1 |
, |
|
|
const ForwardIter2 & |
, |
|
|
const ForwardIter2 & |
, |
|
|
Accessor2 |
, |
|
|
ProgressReporter * |
= 0 |
|
) |
| const |
|
inline |
◆ clearCache()
void svt::Kernel_RBF::clearCache |
( |
| ) |
const |
|
inline |
◆ k_function()
template<typename FV >
double svt::Kernel_RBF::k_function |
( |
const FV & |
x, |
|
|
const FV & |
y |
|
) |
| const |
|
inline |
◆ gradient_of_k_function()
template<typename FV , typename FVGradient >
void svt::Kernel_RBF::gradient_of_k_function |
( |
const FV & |
x, |
|
|
const FV & |
y, |
|
|
FVGradient & |
gradient |
|
) |
| const |
|
inline |
◆ loadParameters()
template<typename STDATA >
void svt::Kernel_RBF::loadParameters |
( |
STDATA & |
stData | ) |
|
|
inline |
◆ saveParameters()
template<typename STDATA >
void svt::Kernel_RBF::saveParameters |
( |
STDATA & |
stData | ) |
const |
|
inline |
◆ name()
static const char* svt::Kernel_RBF::name |
( |
| ) |
|
|
inlinestatic |
◆ description()
static const char* svt::Kernel_RBF::description |
( |
| ) |
|
|
inlinestatic |
◆ getParamInfos()
static void svt::Kernel_RBF::getParamInfos |
( |
std::vector< ParamInfo > & |
p | ) |
|
|
inlinestatic |
get information about the parameters, that are used in loadParameters() and saveParameters().
The Infos are appended to the passed array
- Parameters
-
p | array of ParamInfos. The Infos will be appended to this array |
Definition at line 218 of file Kernel_RBF.hh.
◆ p_gamma
double svt::Kernel_RBF::p_gamma |
|
protected |
The documentation for this class was generated from the following file: