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

Constant polynomial tail. More...

#include <rbf.h>

Inheritance diagram for sot::ConstantTail:
sot::Tail

Public Member Functions

int degree () const
 Method for getting the degree of the tail. More...
 
mat eval (const mat &X) const
 Method for evaluating the monomial basis function for multiple points. More...
 
vec eval (const vec &x) const
 Method for evaluating the monomial basis function for a given point. More...
 
mat deriv (const vec &x) const
 Method for evaluating the derivative of the monomial basis function for a given point. More...
 
int dimTail (int dim) const
 Method for the dimensionality of the polynomial space. More...
 

Detailed Description

Constant polynomial tail.

This is an implementation of the constant polynomial tail with basis \(\{1\}\) of degree 0. Popular to use with the linear kernel.

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

Member Function Documentation

int sot::ConstantTail::degree ( ) const
inlinevirtual

Method for getting the degree of the tail.

Returns
Degree of the tail

Implements sot::Tail.

mat sot::ConstantTail::deriv ( const vec point) const
inlinevirtual

Method for evaluating the derivative of the monomial basis function for a given point.

Parameters
pointPoint for which to evaluate the derivative of the monomial basis function of the tail
Returns
Values of the derivative of the monomial basis functions at the point

Implements sot::Tail.

int sot::ConstantTail::dimTail ( int  dim) const
inlinevirtual

Method for the dimensionality of the polynomial space.

Parameters
dimDimensionality of the input
Returns
Dimensionality of the polynomial space (number of basis functions)

Implements sot::Tail.

mat sot::ConstantTail::eval ( const mat points) const
inlinevirtual

Method for evaluating the monomial basis function for multiple points.

Parameters
pointsPoints for which to evaluate the monomial basis function of the tail
Returns
Values of the monomial basis functions at the points

Implements sot::Tail.

vec sot::ConstantTail::eval ( const vec point) const
inlinevirtual

Method for evaluating the monomial basis function for a given point.

Parameters
pointPoint for which to evaluate the monomial basis function of the tail
Returns
Value of the monomial basis functions at the point

Implements sot::Tail.


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