SOT
Public Member Functions | List of all members
sot::ThinPlateKernel Class Reference

TPS kernel. More...

#include <rbf.h>

Inheritance diagram for sot::ThinPlateKernel:
sot::Kernel

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...
 

Detailed Description

TPS kernel.

This is an implementation of the popular thin-plate spline kernel \(\varphi(r)=r^2\,\log(r)\) which is of order 2.

Author
David Eriksson, dme65.nosp@m.@cor.nosp@m.nell..nosp@m.edu

Member Function Documentation

double sot::ThinPlateKernel::deriv ( double  dist) const
inlinevirtual

Method for evaluating the derivative of the kernel for a given distance.

Parameters
distDistance for which to evaluate the derivative of the kernel
Returns
Derivative of kernel at dist

Implements sot::Kernel.

mat sot::ThinPlateKernel::deriv ( const mat dists) const
inlinevirtual

Method for evaluating the derivative of the kernel for a matrix of distances.

Parameters
distsDistances for which to evaluate the derivative of the kernel
Returns
Values of the derivative of the kernel at dists

Implements sot::Kernel.

double sot::ThinPlateKernel::eval ( double  dist) const
inlinevirtual

Method for evaluating the kernel for a given distance.

Parameters
distDistance for which to evaluate the kernel
Returns
Value of kernel at dist

Implements sot::Kernel.

mat sot::ThinPlateKernel::eval ( const mat dists) const
inlinevirtual

Method for evaluating the kernel for a matrix of distances.

Parameters
distsDistances for which to evaluate the derivative of the kernel
Returns
Values of kernel at dists

Implements sot::Kernel.

int sot::ThinPlateKernel::order ( ) const
inlinevirtual

Method for getting the order of the kernel.

Returns
Order of the kernel

Implements sot::Kernel.

int sot::ThinPlateKernel::phiZero ( ) const
inlinevirtual

Method for getting the value of the kernel at 0.

Returns
Value of kernel at 0

Implements sot::Kernel.


The documentation for this class was generated from the following file: