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
InvMultiquadrics.m
Go to the documentation of this file.
1 namespace kernels{
2 
3 
4 /* (Autoinserted by mtoc++)
5  * This source code has been filtered by the mtoc++ executable,
6  * which generates code that can be processed by the doxygen documentation tool.
7  *
8  * On the other hand, it can neither be interpreted by MATLAB, nor can it be compiled with a C++ compiler.
9  * Except for the comments, the function bodies of your M-file functions are untouched.
10  * Consequently, the FILTER_SOURCE_FILES doxygen switch (default in our Doxyfile.template) will produce
11  * attached source files that are highly readable by humans.
12  *
13  * Additionally, links in the doxygen generated documentation to the source code of functions and class members refer to
14  * the correct locations in the source code browser.
15  * However, the line numbers most likely do not correspond to the line numbers in the original MATLAB source files.
16  */
17 
19  :public kernels.ARBFKernel {
30  public: /* ( setObservable ) */
31 
32  beta = -1;
46  c = 1;
60  public: /* ( setObservable ) */
61 
62 
64 
65  this = this@kernels.ARBFKernel;
66 
67  /* Register before processing arguments, because if set that's a custom user option. */
68  this.registerProps(" beta "," c ");
69 
70  if nargin > 0
71  this.beta= beta;
72  if nargin > 1
73  this.c= c;
74  end
75  end
76  }
85  function c = getGlobalLipschitz() {
86  error(" Not implemented yet ");
87  }
95  function Nabla = getNabla(colvec<double> x,matrix<double> y) {
96  error(" Not implemented yet ");
97  }
109  K = (this.c^2 + this.getSqDiffNorm(x,y)/this.Gamma^2).^this.beta;
110  }
127  function Ks = evaluateScalar(r) {
128  Ks = (this.c^2 + (r/this.Gamma).^2).^this.beta;
129  }
130 
131 
132  function copy = clone() {
133  copy = clone@kernels.ARBFKernel(this, kernels.InvMultiquadrics);
134  copy.beta= this.beta;
135  copy.c= this.c;
136  }
137 
138 
139 
140 };
141 }
142 
143 
144 
function c = getGlobalLipschitz()
function K = evaluate(matrix< double > x,matrix< double > y)
Evaluates the inverse multiquadrics kernel.
function copy = clone()
InvMULTIQUADRICS Summary of this class goes here Detailed explanation goes here.
beta
The negative exponent.
function registerProps(varargin)
Call this method at any class that defines DPCM observed properties.
Definition: DPCMObject.m:125
double Gamma
Univariate scaling.
Definition: ARBFKernel.m:55
function r = getSqDiffNorm(matrix< double > x,matrix< double > y)
Returns the weighted squared norm of the difference .
Definition: ARBFKernel.m:116
Abstract class for radial basis function / rotation- and translation invariant kernels.
Definition: ARBFKernel.m:18
function Nabla = getNabla(colvec< double > x,matrix< double > y)
InvMultiquadrics(beta, c)
Constructor offering the possibility to initialize kernel specifics at creation time.
function Ks = evaluateScalar(r)