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
AffLinOutputConv.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,
28  public:
29 
30  function C = evaluate(double t,colvec<double> mu) {
31  C = this.compose(t,mu);
32  }
33 
34 
35  function projected = project(V,W) {
36  projected = project@general.AProjectable(this, V, W, this.clone);
37  /* RHS multiplication of the matrices for correct conversion. */
38  projected.Matrices= zeros(size(V,2),this.N);
39  for idx=1:this.N
40  projected.Matrices(:,idx) = reshape(this.getMatrix(idx)*V,[],1);
41  end
42  }
43 
44 
45  function copy = clone() {
46  copy = clone@general.AffParamMatrix(this, ...
47  dscomponents.AffLinOutputConv);
48  }
49 
50 
51 
52 };
53 }
54 
55 
56 
reshape
hanges the dimensions of the handle object array to the specified dimensions. See the MATLAB reshape ...
V
The matrix of the biorthogonal pair .
Definition: AProjectable.m:61
function M = getMatrix(idx)
Returns the -th matrix of the AffParamMatrix.
function M = compose(t, mu)
Composes the affine-linear combination of matrices for given time and parameter .
function projected = project(V, W)
function [ n , m ] = size(dim)
Implementation of ABlockedData.size.
General time/parameter-affine matrix.
AFFLINOUTPUTCONV Summary of this class goes here Detailed explanation goes here.
W
The matrix of the biorthogonal pair .
Definition: AProjectable.m:72
integer N
The number of affine matrices / size of the linear combination.
function C = evaluate(double t,colvec< double > mu)
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