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
RotationFun.m
Go to the documentation of this file.
1 namespace models{
2 namespace synth{
3 
4 
5 /* (Autoinserted by mtoc++)
6  * This source code has been filtered by the mtoc++ executable,
7  * which generates code that can be processed by the doxygen documentation tool.
8  *
9  * On the other hand, it can neither be interpreted by MATLAB, nor can it be compiled with a C++ compiler.
10  * Except for the comments, the function bodies of your M-file functions are untouched.
11  * Consequently, the FILTER_SOURCE_FILES doxygen switch (default in our Doxyfile.template) will produce
12  * attached source files that are highly readable by humans.
13  *
14  * Additionally, links in the doxygen generated documentation to the source code of functions and class members refer to
15  * the correct locations in the source code browser.
16  * However, the line numbers most likely do not correspond to the line numbers in the original MATLAB source files.
17  */
18 
20  :public dscomponents.ACoreFun {
29  public:
30 
31  RotationFun(sys) {
32  this = this@dscomponents.ACoreFun(sys);
33  this.TimeDependent= false;
34  this.xDim= 2;
35  this.fDim= 2;
36  }
37 
38 
39  function fx = evaluateCoreFun(colvec<double> x,double t) {
40  a = t*this.mu(1);
41  b = a+this.mu(2);
42  /* b = a+mu(2)+sin(t)/2; */
43  A = [cos(a) -sin(b);
44  sin(a) cos(b)];
45  fx = A*x;
46  }
58 };
59 }
60 }
61 
62 
63 
integer fDim
The current output dimension of the function.
Definition: ACoreFun.m:171
logical TimeDependent
Flag that indicates if the ACoreFun is (truly) time-dependent.
Definition: ACoreFun.m:84
Basic interface for all dynamical system's core functions Inherits the AProjectable interface...
Definition: ACoreFun.m:18
integer xDim
The current state space dimension of the function's argument .
Definition: ACoreFun.m:151
colvec< double > mu
The current model parameter mu for evaluations. Will not be persisted as only valid for runtime durin...
Definition: ACoreFun.m:208
function fx = evaluateCoreFun(colvec< double > x,double t)
Implements ACoreFun.evaluate.
Definition: RotationFun.m:39
ROTATIONDYNSYS Synthetic 2D dynamical system with rotation Also implements the ACoreFun interface as ...
Definition: RotationFun.m:19