![]() |
MeLOn
|
Abstract parent class for kernel implementations. More...
#include <kernel.h>
Public Types | |
using | RET = decltype(std::declval<T>() + std::declval<V>()) |
Public Member Functions | |
virtual | ~Kernel ()=default |
Destructor. | |
virtual RET | evaluate_kernel (std::vector< T > x1, std::vector< V > x2)=0 |
Function for evalualting the kernel for the points x1 and x2. | |
Abstract parent class for kernel implementations.
|
virtualdefault |
Destructor.
|
pure virtual |
Function for evalualting the kernel for the points x1 and x2.
[in] | x1 | is a vector containing the first point |
[in] | x2 | is a vector containing the second point |
Implemented in melon::kernel::KernelCompositeAdd< T, V >, melon::kernel::KernelCompositeMultiply< T, V >, melon::kernel::KernelConstant< T, V >, melon::kernel::Matern12< T, V >, melon::kernel::Matern32< T, V >, melon::kernel::Matern52< T, V >, melon::kernel::MaternInf< T, V >, and melon::kernel::KernelRBF< T, V >.