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
KernelApprox.m
Go to the documentation of this file.
1 namespace approx{
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 approx.BaseApprox,
88  public: /* ( setObservable ) */
89 
90  .approx.algorithms.Algorithm Algorithm;
105  public: /* ( setObservable ) */
106 
107 
109  this = this@approx.BaseApprox(sys);
110  this = this@dscomponents.ParamTimeKernelCoreFun(sys);
111 
112  this.Algorithm= approx.algorithms.VKOGA;
113 
114  this.registerProps(" Algorithm ");
115  }
116 
117 
119 
120  if ~isempty(model.G) && ~isequal(model.G,1)
121  this.Algorithm.ExpConfig.Prototype.Kernel.G= model.G;
122  end
123 
124  /* First argument: this kernel expansion! */
125  this.Expansion= this.Algorithm.computeApproximation(...
126  model.Data.ApproxTrainData);
127  }
145  function copy = clone() {
146  copy = approx.KernelApprox(this.System);
147 
148  copy = clone@dscomponents.ParamTimeKernelCoreFun(this, copy);
149  copy = clone@approx.BaseApprox(this, copy);
150 
151  copy.Algorithm= this.Algorithm.clone;
152  }
170 #if 0 //mtoc++: 'set.Algorithm'
171 function Algorithm(value) {
172  this.checkType(value," approx.algorithms.ABase ");
173  this.Algorithm= value;
174  }
175 
176 #endif
177 
178 
184 };
185 }
186 
187 
188 
189 
ParamTimeKernelCoreFun: Dynamical system core function which evaluates a contained kernel expansion...
The base class for any KerMor detailed model.
Definition: BaseFullModel.m:18
function registerProps(varargin)
Call this method at any class that defines DPCM observed properties.
Definition: DPCMObject.m:125
matrix< double > G
The custom scalar product matrix .
Definition: BaseModel.m:132
models.BaseFirstOrderSystem System
The system associated with the current ACoreFun.
Definition: ACoreFun.m:193
KernelApprox: Base class for component-wise kernel approximations.
Definition: KernelApprox.m:18
data.ModelData Data
The full model's data container. Defaults to an empty container.
kernels.KernelExpansion Expansion
The inner kernel expansion which is evaluated as core function.
function approximateSystemFunction(models.BaseFullModel model)
If V=W, we have W^tV = I_r by assumption, so if G=1 we have V^tGV = I_r and we dont need to set a cus...
Definition: KernelApprox.m:118
approx.algorithms.Algorithm Algorithm
The algorithm used to create the kernel expansion.
Definition: KernelApprox.m:90
Abstract base class for all core function approximations inside dynamical systems.
Definition: BaseApprox.m:18
function checkType(obj, type)
Object typechecker.
Definition: KerMorObject.m:122
data.ApproxTrainData ApproxTrainData
Training data for the core function approximation.
Definition: ModelData.m:110
function copy = clone()
Clones the instance.
Definition: KernelApprox.m:145