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
LinearOutputConv.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 dscomponents.AOutputConv {
35  public:
36 
37  C;
38 
39 
40  public:
41 
43  this = this@dscomponents.AOutputConv;
44 
45  /* Standard constructor. */
46  this.C= C;
47 
48  /* Ensure that the flag is set correctly (independent from the
49  * default setting which may change) */
50  this.TimeDependent= false;
51  }
52 
53 
54  function proj = project(V,W) {
55  proj = dscomponents.LinearOutputConv(this.C*V);
56  }
65  function copy = clone() {
66  copy = dscomponents.LinearOutputConv(this.C);
67  copy = clone@dscomponents.AOutputConv(this, copy);
68  }
69 
70 
71  function C = evaluate(double t,colvec<double> mu) {
72  C = this.C;
73  }
86  /* % Overloads */
87  public:
88 
89  function prod = mtimes(other) {
90  if isa(this," dscomponents.LinearOutputConv ")
91  if isa(other," dscomponents.LinearOutputConv ")
92  prod = dscomponents.LinearOutputConv(this.C * other.C);
93  else
94  prod = dscomponents.LinearOutputConv(this.C * other);
95  end
96  elseif isa(other," dscomponents.LinearOutputConv ")
97  prod = dscomponents.LinearInputConv(this * other.C);
98  end
99  }
100 
101 
102 
103 };
104 }
105 
106 
107 
V
The matrix of the biorthogonal pair .
Definition: AProjectable.m:61
logical TimeDependent
Flag whether the output converter actually depends on a time variable. Implemented for speed reasons ...
Definition: AOutputConv.m:44
function prod = mtimes(other)
function proj = project(V, W)
Performs projection for the standard output conversion.
function C = evaluate(double t,colvec< double > mu)
Evaluates the output conversion matrix. In this simple case this is just the projection matrix...
W
The matrix of the biorthogonal pair .
Definition: AProjectable.m:72
Standard linear output converter.
BASEOUTPUTCONV Base class for output conversion "C". For simpler output conversions, it will be convenient to simply use the Pointer versions and pass the target function. For more complex output calculations which require local setup for example subclass this class and implement the evaluate method.
Definition: AOutputConv.m:18