rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
List of all members | Public Member Functions | Public Attributes
RbfInterpolant Class Reference

Detailed Description

implements rbf interpolation by thin plate splines or gaussian

Definition at line 17 of file RbfInterpolant.m.

Inheritance diagram for RbfInterpolant:
Inheritance graph
[legend]
Collaboration diagram for RbfInterpolant:
Collaboration graph
[legend]

Public Member Functions

 RbfInterpolant (points, values, kernel_type, dilation)
 constructor: points is a (d x n)-matrix, values is a (n x 1)-matrix More...
 
function res = evaluate (points)
 points is a (d x n)-matrix, res is a (1 x n)-matrix More...
 
function this = add_data (varargin)
 points is a (d x n)-matrix, values is a (n x 1)-matrix More...
 
function this = remove_data (indices)
 if indices is not specified, the last added data is removed More...
 
function res = evaluate_gradient (points)
 points is a (d x n)-matrix, res is a (d x n)-matrix can be vectorized More...
 
function res = evaluate_laplacian (points)
 points is a (d x n)-matrix, res is a (1 x n)-matrix returns -inf if r=0 can be vectorized More...
 
function res = evaluate_basis (x)
 vectorized thin plate spline basis More...
 
function res = subsref (S)
 overload subsref for evaluation More...
 
function this = update ()
 compute weights from data More...
 
function r = compute_radii (x)
 compute radii for a point-matrix More...
 

Public Attributes

 data_points = "[]"
 
 data_values = "[]"
 
 weights
 
 num_points = 0
 
 dimension
 
 kernel_type = "tps"
 
 dilation
 

Constructor & Destructor Documentation

RbfInterpolant.RbfInterpolant (   points,
  values,
  kernel_type,
  dilation 
)

constructor: points is a (d x n)-matrix, values is a (n x 1)-matrix

Parameters
pointspoints
valuesvalues
kernel_typekernel type
dilationdilation

Definition at line 60 of file RbfInterpolant.m.

Here is the call graph for this function:

Member Function Documentation

function this = RbfInterpolant.add_data (   varargin)

points is a (d x n)-matrix, values is a (n x 1)-matrix

Parameters
vararginvarargin
Return values
thisthis
Generated fields of this:
  • data_points —  data points
  • data_values —  data values
  • num_points —  num points
  • dilation_ —  dilation

Definition at line 123 of file RbfInterpolant.m.

Here is the call graph for this function:

Here is the caller graph for this function:

function r = RbfInterpolant.compute_radii (   x)

compute radii for a point-matrix

Parameters
xx
Return values
rr
Note
This method has the MATLAB method attribute Hidden set to true.
matlab documentation of method attributes.

Definition at line 291 of file RbfInterpolant.m.

Here is the caller graph for this function:

function res = RbfInterpolant.evaluate (   points)

points is a (d x n)-matrix, res is a (1 x n)-matrix

Parameters
pointspoints
Return values
resres

Definition at line 106 of file RbfInterpolant.m.

Here is the call graph for this function:

Here is the caller graph for this function:

function res = RbfInterpolant.evaluate_basis (   x)

vectorized thin plate spline basis

Parameters
xx
Return values
resres
Note
This method has the MATLAB method attribute Hidden set to true.
matlab documentation of method attributes.

Definition at line 226 of file RbfInterpolant.m.

Here is the call graph for this function:

Here is the caller graph for this function:

function res = RbfInterpolant.evaluate_gradient (   points)

points is a (d x n)-matrix, res is a (d x n)-matrix can be vectorized

Parameters
pointspoints
Return values
resres

Definition at line 180 of file RbfInterpolant.m.

Here is the call graph for this function:

function res = RbfInterpolant.evaluate_laplacian (   points)

points is a (d x n)-matrix, res is a (1 x n)-matrix returns -inf if r=0 can be vectorized

Parameters
pointspoints
Return values
resres

Definition at line 201 of file RbfInterpolant.m.

Here is the call graph for this function:

function this = RbfInterpolant.remove_data (   indices)

if indices is not specified, the last added data is removed

Parameters
indicesindices
Return values
thisthis
Generated fields of this:
  • data_points —  data points
  • data_values —  data values
  • num_points —  num points
  • dilation —  dilation

Definition at line 148 of file RbfInterpolant.m.

Here is the call graph for this function:

function res = RbfInterpolant.subsref (   S)

overload subsref for evaluation

Parameters
SS
Return values
resres
Note
This method has the MATLAB method attribute Hidden set to true.
matlab documentation of method attributes.

Definition at line 250 of file RbfInterpolant.m.

Here is the call graph for this function:

function this = RbfInterpolant.update ( )

compute weights from data

Return values
thisthis
Generated fields of this:
  • weights —  weights
Note
This method has the MATLAB method attribute Hidden set to true.
matlab documentation of method attributes.

Definition at line 270 of file RbfInterpolant.m.

Here is the call graph for this function:

Here is the caller graph for this function:


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