KerMor  0.9
Model order reduction for nonlinear dynamical systems and nonlinear approximation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
IKernelCoeffComp Class Referenceabstract

Interface for kernel expansion coefficient computation. More...

Detailed Description

Interface for kernel expansion coefficient computation.

Any algorithm that can compute onedimensional coefficients given a kernel matrix \(K\) for a kernel expansion of the type

\[f(x) = \sum\limits_{i=1}^N \alpha_i\K(x,x_i)\]

should implement this interface in order to be available as strategy within any approx.KernelApprox subclass.

Author
Daniel Wirtz
Date
2011-03-31
Change in 0.5:
(Daniel Wirtz, 2011-09-12)
  • Added initial values that can be passed to the CoeffComp algorithms.
  • New Property IKernelCoeffComp.MultiTargetComputation that indicates of the algorithm at hand can handle a column vector matrix instead of a single vector.
New in 0.5:
(Daniel Wirtz, 2011-07-07) Moved this class to the approx.algorithms package.
Change in 0.3:
(Daniel Wirtz, 2011-05-03) Removed offset terms from interface as the \(b\) offsets for kernel expansions arent used anymore.
New in 0.3:
(Daniel Wirtz, 2011-03-31) Added this interface.

Definition at line 17 of file IKernelCoeffComp.m.

Public Member Functions

function copy = clone (copy)
 The interface method with returns a copy of the current class instance. More...
 
virtual function  init (data.FileMatrix K)
 Initialization template method. More...
 
virtual function [
rowvec ci ,
integer
svidx ] = 
computeKernelCoefficients (yi, initialai)
 Kernel coefficient computation. More...
 

Public Attributes

logical MultiTargetComputation = false
 A flag that indicates to users if the coefficient computation method is capable of using a matrix of column fxi vectors or only single vectors. More...
 
- Public Attributes inherited from handle
 addlistener
 Creates a listener for the specified event and assigns a callback function to execute when the event occurs. More...
 
 notify
 Broadcast a notice that a specific event is occurring on a specified handle object or array of handle objects. More...
 
 delete
 Handle object destructor method that is called when the object's lifecycle ends. More...
 
 disp
 Handle object disp method which is called by the display method. See the MATLAB disp function. More...
 
 display
 Handle object display method called when MATLAB software interprets an expression returning a handle object that is not terminated by a semicolon. See the MATLAB display function. More...
 
 findobj
 Finds objects matching the specified conditions from the input array of handle objects. More...
 
 findprop
 Returns a meta.property objects associated with the specified property name. More...
 
 fields
 Returns a cell array of string containing the names of public properties. More...
 
 fieldnames
 Returns a cell array of string containing the names of public properties. See the MATLAB fieldnames function. More...
 
 isvalid
 Returns a logical array in which elements are true if the corresponding elements in the input array are valid handles. This method is Sealed so you cannot override it in a handle subclass. More...
 
 eq
 Relational functions example. See details for more information. More...
 
 transpose
 Transposes the elements of the handle object array. More...
 
 permute
 Rearranges the dimensions of the handle object array. See the MATLAB permute function. More...
 
 reshape
 hanges the dimensions of the handle object array to the specified dimensions. See the MATLAB reshape function. More...
 
 sort
 ort the handle objects in any array in ascending or descending order. More...
 

Member Function Documentation

function copy = IKernelCoeffComp.clone (   target)
virtual

The interface method with returns a copy of the current class instance.

Parameters
targetIf clone was called for a subclass of this class, target must contain the new instance of the subclass that is to be the cloned result.

Implements ICloneable.

Definition at line 66 of file IKernelCoeffComp.m.

References MultiTargetComputation.

function [ rowvec ci , integer svidx ] = IKernelCoeffComp.computeKernelCoefficients (   yi,
  initialai 
)
pure virtual

Kernel coefficient computation.

Here the concrete class performs the approximation calculation for given function evaluation points \(y_i = f(x_i)\) at the centers \(x_i\) also used to compute the kernel matrix passed to the IKernelCoeffComp.init method.

See Also
init
Parameters
yiThe function values \(f(x_i)\) as column vector. If MultiTargetComputation is true, this can be a matrix of column vectors.
initialaiThe values to use as initial coefficients. It is up to the implementing classes to use those if passed; however, a call with empty argument must be possible, too.
Return values
ciThe coefficients \(c_{k,i}\) of \(f_k(x)\) as ROW vector.
svidxThe used support vector indices \(i\) of \(x_i\). Always required. (Set to 1:n if no sparsity is given by the coeffcomp method)

Implemented in general.regression.KernelLS.

function IKernelCoeffComp.init ( data.FileMatrix  K)
pure virtual

Initialization template method.

Call this method before any calls to computeKernelCoefficients and every time the kernel matrix changes.

See Also
computeKernelCoefficients
Parameters
KThe Kernel matrix for the centers \(x_i\)

Member Data Documentation

IKernelCoeffComp.MultiTargetComputation = false

A flag that indicates to users if the coefficient computation method is capable of using a matrix of column fxi vectors or only single vectors.

Default: false

Note
This property has non-standard access specifiers: SetAccess = Protected, GetAccess = Public
Matlab documentation of property attributes.

Definition at line 49 of file IKernelCoeffComp.m.

Referenced by clone(), and general.interpolation.KernelInterpol.KernelInterpol().


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