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
ProjectionSpace.m
Go to the documentation of this file.
1 namespace data{
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 KerMorObject {
38  public:
39 
56  public:
57 
58  V = "[]";
59 
60  W = "[]";
61 
62 
76 
77 
78  public:
79 
81  this.V= V;
82  if isempty(W)
83  this.W= V;
84  else
85  this.W= W;
86  end
87  this.Dimensions= dims;
88  this.Size= size(V,2);
89  }
90 
91 
92  function relocate(new_root) {
93  if ~isempty(this.V)
94  this.V.relocate(new_root);
95  end
96  if ~isempty(this.W)
97  this.W.relocate(new_root);
98  end
99  }
100 
101 
102 
103 #if 0 //mtoc++: 'set.V'
104 function V(value) {
105  if ~isa(value," data.FileMatrix ") && (~isa(value, " double ") || ~ismatrix(value))
106  error(" value must be a valid matrix of type double or a data.FileMatrix ");
107  end
108  this.V= value;
109  }
110 
111 #endif
112 
113 
114 
115 #if 0 //mtoc++: 'set.W'
116 function W(value) {
117  if ~isa(value," data.FileMatrix ") && (~isa(value, " double ") || ~ismatrix(value))
118  error(" value must be a valid matrix of type double or a data.FileMatrix ");
119  end
120  this.W= value;
121  }
122 
123 #endif
124 
125 
126  function delete() {
127  this.V= [];
128  this.W= [];
129  }
130 
131 
141 };
142 }
143 
ProjectionSpace(V, W, dims)
Base class for any KerMor class.
Definition: KerMorObject.m:17
LastEffectiveSize
Stores the effective subspace size used the last time a reduced model was build using this projection...
function ismat = ismatrix(value)
ismatrix: Compatibility function for matlab versions smaller than 2011b
Definition: ismatrix.m:17
Dimensions
The dimensions of the full state space which are associated with this subspace.
function relocate(new_root)
ProjectionSpace: