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
KerMorObject.m
Go to the documentation of this file.
1 
2 
3 /* (Autoinserted by mtoc++)
4  * This source code has been filtered by the mtoc++ executable,
5  * which generates code that can be processed by the doxygen documentation tool.
6  *
7  * On the other hand, it can neither be interpreted by MATLAB, nor can it be compiled with a C++ compiler.
8  * Except for the comments, the function bodies of your M-file functions are untouched.
9  * Consequently, the FILTER_SOURCE_FILES doxygen switch (default in our Doxyfile.template) will produce
10  * attached source files that are highly readable by humans.
11  *
12  * Additionally, links in the doxygen generated documentation to the source code of functions and class members refer to
13  * the correct locations in the source code browser.
14  * However, the line numbers most likely do not correspond to the line numbers in the original MATLAB source files.
15  */
16 
18  :public DPCMObject {
53  public:
54 
56 
57  this = this@DPCMObject;
58  }
72  function display() {
73  disp(this);
74  }
81  function bool = eq(B) {
82  bool = strcmp(class(A), class(B));
83  }
95  function bool = ne(B) {
96  bool = ~eq(A,B);
97  }
108  function cn = getClassName() {
109  cn = class(this);
110  dotpos = strfind(cn," . ");
111  cn = cn(dotpos(end)+1:end);
112  }
120  protected: /* ( Sealed ) */
121 
122  function checkType(obj,type) {
123  if ~isempty(obj) && ~isa(obj, type)
124  error([" Wrong type " class(obj) " for this property. Has to be a " type]);
125  end
126  }
141 };
142 
143 
144 
function display()
disp(object2str(this));
Definition: KerMorObject.m:72
Base class for any KerMor class.
Definition: KerMorObject.m:17
DPCMObject: Base object for any class participating in the DPCM system.
Definition: DPCMObject.m:17
DPCMObject()
Creates a new DPCM object.
Definition: DPCMObject.m:101
KerMorObject()
Constructs a new KerMor object.
Definition: KerMorObject.m:55
function bool = eq(B)
Checks equality of two KerMor objects.
Definition: KerMorObject.m:81
function cn = getClassName()
Returns the simple class name of this object without packages.
Definition: KerMorObject.m:108
disp
Handle object disp method which is called by the display method. See the MATLAB disp function...
function checkType(obj, type)
Object typechecker.
Definition: KerMorObject.m:122
function bool = ne(B)
Checks if two KerMorObjects are different.
Definition: KerMorObject.m:95