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
AProjectable.m
Go to the documentation of this file.
1 namespace general{
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 ICloneable {
59  public:
60 
61  V;
72  W;
83  public:
84 
85  function handletarget = project(matrix<double> V,matrix<double> W,handle target) {
86  if nargin < 4
87  target = this.clone;
88  end
89  target.V= V;
90  target.W= W;
91  }
117  function copy = clone(copy) {
118  if nargin == 1
119  copy = general.AProjectable;
120  end
121  copy.V= this.V;
122  copy.W= this.W;
123  }
124 
125 
126  protected: /* ( Static ) */
127 
128  static function obj = loadobj(obj,from) {
129  if nargin == 2
130  obj.V= from.V;
131  obj.W= from.W;
132  end
133  }
134 
135 
136 
137 };
138 }
139 
ICLONEABLE Interface for cloneable handle classes.
Definition: ICloneable.m:17
static function obj = loadobj(obj, from)
Definition: AProjectable.m:128
Interface for all components that can be projected.
Definition: AProjectable.m:18
Matlab's base handle class (documentation generation substitute)
V
The matrix of the biorthogonal pair .
Definition: AProjectable.m:61
function handle target = project(matrix< double > V,matrix< double > W,handle target)
Returns a NEW INSTANCE of the projected object that does not rely on data of the old one via referenc...
Definition: AProjectable.m:85
function copy = clone(copy)
The interface method with returns a copy of the current class instance.
Definition: AProjectable.m:117
W
The matrix of the biorthogonal pair .
Definition: AProjectable.m:72