SOT
|
Cubic kernel. More...
#include <rbf.h>
Public Member Functions | |
int | order () const |
Method for getting the order of the kernel. More... | |
int | phiZero () const |
Method for getting the value of the kernel at 0. More... | |
double | eval (double dist) const |
Method for evaluating the kernel for a given distance. More... | |
double | deriv (double dist) const |
Method for evaluating the derivative of the kernel for a given distance. More... | |
mat | eval (const mat &dists) const |
Method for evaluating the kernel for a matrix of distances. More... | |
mat | deriv (const mat &dists) const |
Method for evaluating the derivative of the kernel for a matrix of distances. More... | |
Cubic kernel.
This is an implementation of the popular cubic kernel \(\varphi(r)=r^3\) which is of order 2.
|
inlinevirtual |
Method for evaluating the derivative of the kernel for a given distance.
dist | Distance for which to evaluate the derivative of the kernel |
Implements sot::Kernel.
Method for evaluating the derivative of the kernel for a matrix of distances.
dists | Distances for which to evaluate the derivative of the kernel |
Implements sot::Kernel.
|
inlinevirtual |
Method for evaluating the kernel for a given distance.
dist | Distance for which to evaluate the kernel |
Implements sot::Kernel.
Method for evaluating the kernel for a matrix of distances.
dists | Distances for which to evaluate the derivative of the kernel |
Implements sot::Kernel.
|
inlinevirtual |
|
inlinevirtual |
Method for getting the value of the kernel at 0.
Implements sot::Kernel.