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
AffLinInputConv.m
Go to the documentation of this file.
1 namespace dscomponents{
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 general.AffParamMatrix,
43  public: /* ( setObservable ) */
44 
69  private:
70 
71  cachedB;
72 
73 
74  public:
75 
76  function B = evaluate(t,mu) {
77  if this.TimeDependent
78  B = this.compose(t, mu);
79  else
80  B = this.cachedB;
81  end
82  }
98  this.cachedB= [];
99  if ~isempty(mu) && ~this.TimeDependent
100  this.cachedB= this.compose(0, mu);
101  end
102  }
103 
104 
105  function projected = project(V,W) {
106 
107  /* Uses the overridden operators in AffParamMatrix to create a copy. */
108  projected = W^t*this;
109 
110  /* Dont need to store V,W for disk space reasons
111  *projected = project@general.AProjectable(this, V, W, projected); */
112  }
122  function copy = clone() {
123  copy = dscomponents.AffLinInputConv;
124  copy = clone@general.AffParamMatrix(this, copy);
125  copy.CoeffClass= this.CoeffClass;
126  }
127 
128 
129  protected: /* ( Static ) */
130 
131  static function obj = loadobj(obj,varargin) {
132  obj = loadobj@general.AffParamMatrix(obj, varargin[:]);
133  obj = loadobj@dscomponents.AInputConv(obj, varargin[:]);
134  }
135 
136 
137 
138 };
139 }
140 
141 
142 
AInputConv: Base class for input conversion "B". For simpler input conversions, it will be convenient...
Definition: AInputConv.m:18
static function obj = loadobj(obj, varargin)
function prepareSimulation(colvec< double > mu)
AffLinInputConv: Affine parametric input conversion matrix .
function B = evaluate(t, mu)
Evaluates the input conversion matrix.
A variable number of input arguments.
char CoeffClass
Export setting. Java class name for JKerMor model export.
V
The matrix of the biorthogonal pair .
Definition: AProjectable.m:61
function M = compose(t, mu)
Composes the affine-linear combination of matrices for given time and parameter .
function projected = project(V, W)
Projects the affine parametric input conversion matrix B into the subspace spanned by ...
logical TimeDependent
Flag that indicates if the AInputConv is (truly) time-dependent.
Definition: AInputConv.m:39
General time/parameter-affine matrix.
W
The matrix of the biorthogonal pair .
Definition: AProjectable.m:72
A MatLab character array.