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
spacereduction.RotationDecorator Class Reference

RotationDecorator: Decorator for any other space reducer which rotates the resulting matrix. More...

Detailed Description

RotationDecorator: Decorator for any other space reducer which rotates the resulting matrix.

This space-reduction class has been added in order to be able to obtain slightly worse subspace computations as would be given by the underlying space reduction method.

Author
Daniel Wirtz
Date
2011-05-23
New in 0.4:
(Daniel Wirtz, 2011-05-23) Added this class.

This class is part of the framework

KerMor - Model Order Reduction using Kernels

Definition at line 18 of file RotationDecorator.m.

Public Member Functions

 RotationDecorator (s)
 Creates a new rotation decorator Parameters: s: Subclass of spacereduction.BaseSpaceReducer. More...
 
- Public Member Functions inherited from spacereduction.BaseSpaceReducer
function [ V ,
W ] = 
generateReducedSpace (models.BaseFullModel model)
 Generates the reduced linear subspace for the given model. More...
 
function  plotSummary (pm, context)
 
- Public Member Functions inherited from KerMorObject
 KerMorObject ()
 Constructs a new KerMor object. More...
 
function  display ()
 disp(object2str(this)); More...
 
function bool = eq (B)
 Checks equality of two KerMor objects. More...
 
function bool = ne (B)
 Checks if two KerMorObjects are different. More...
 
function cn = getClassName ()
 Returns the simple class name of this object without packages. More...
 
- Public Member Functions inherited from DPCMObject
 DPCMObject ()
 Creates a new DPCM object. More...
 
 DPCMObject ()
 

Public Attributes

 Degree = .05
 \(\in [0, 2\pi]\) More...
 
 Dims = 5
 Number of dimensions to rotate by Degree. More...
 
- Public Attributes inherited from spacereduction.BaseSpaceReducer
logical IncludeTrajectoryFxiData = false
 Flag if to include \(f(x_i)\) values for each \(x_i\) value, too. More...
 
 IncludeFiniteDifferences = false
 
 IncludeBSpan = false
 
 IncludeAxData = false
 
varargin TargetDimensions = ":"
 This property determines which dimensions are to be reduced. It is possible to reduce the entire number of DoFs but also only selected ones. More...
 
 ProjectionError = "[]"
 
- Public Attributes inherited from DPCMObject
 WorkspaceVariableName = ""
 The workspace variable name of this class. Optional. More...
 
 ID = "[]"
 An ID that allows to uniquely identify this DPCMObject (at least within the current MatLab session/context). More...
 
 PropertiesChanged = "[]"
 The Dictionary containing all the property settings as key/value pairs. More...
 
- Public Attributes inherited from handle
 addlistener
 Creates a listener for the specified event and assigns a callback function to execute when the event occurs. More...
 
 notify
 Broadcast a notice that a specific event is occurring on a specified handle object or array of handle objects. More...
 
 delete
 Handle object destructor method that is called when the object's lifecycle ends. More...
 
 disp
 Handle object disp method which is called by the display method. See the MATLAB disp function. More...
 
 display
 Handle object display method called when MATLAB software interprets an expression returning a handle object that is not terminated by a semicolon. See the MATLAB display function. More...
 
 findobj
 Finds objects matching the specified conditions from the input array of handle objects. More...
 
 findprop
 Returns a meta.property objects associated with the specified property name. More...
 
 fields
 Returns a cell array of string containing the names of public properties. More...
 
 fieldnames
 Returns a cell array of string containing the names of public properties. See the MATLAB fieldnames function. More...
 
 isvalid
 Returns a logical array in which elements are true if the corresponding elements in the input array are valid handles. This method is Sealed so you cannot override it in a handle subclass. More...
 
 eq
 Relational functions example. See details for more information. More...
 
 transpose
 Transposes the elements of the handle object array. More...
 
 permute
 Rearranges the dimensions of the handle object array. See the MATLAB permute function. More...
 
 reshape
 hanges the dimensions of the handle object array to the specified dimensions. See the MATLAB reshape function. More...
 
 sort
 ort the handle objects in any array in ascending or descending order. More...
 

Protected Member Functions

function [ V ,
W ] = 
generateReducedSpaceImpl (models.BaseFullModel model, subset)
 Computes the subspace given by the underlying subspace reduction class but then rotates for Dims times between two randomly chosen axis. More...
 
- Protected Member Functions inherited from spacereduction.BaseSpaceReducer
function V = getInitialSpace (blockdata, pod, subset)
 Computes the initial space, which is the first POD mode of the initial values! More...
 
- Protected Member Functions inherited from KerMorObject
function  checkType (obj, type)
 Object typechecker. More...
 
- Protected Member Functions inherited from DPCMObject
function  registerProps (varargin)
 Call this method at any class that defines DPCM observed properties. More...
 
function  registerProps (varargin)
 

Additional Inherited Members

- Static Protected Member Functions inherited from DPCMObject
static function obj = loadobj (obj, from)
 Re-register any registered change listeners! More...
 
static function obj = loadobj (obj, from)
 

Constructor & Destructor Documentation

spacereduction.RotationDecorator.RotationDecorator (   s)

Creates a new rotation decorator Parameters: s: Subclass of spacereduction.BaseSpaceReducer.

Required fields of s:

Definition at line 80 of file RotationDecorator.m.

References DPCMObject.registerProps().

Here is the call graph for this function:

Member Function Documentation

function [ V , W ] = spacereduction.RotationDecorator.generateReducedSpaceImpl ( models.BaseFullModel  model,
  subset 
)
protectedvirtual

Computes the subspace given by the underlying subspace reduction class but then rotates for Dims times between two randomly chosen axis.

Parameters
modelA KerMor full model

Implements spacereduction.BaseSpaceReducer.

Definition at line 105 of file RotationDecorator.m.

References Degree, and Dims.

Member Data Documentation

spacereduction.RotationDecorator.Degree = .05

\(\in [0, 2\pi]\)

Default: .05

Property class data:
Not for real reduction use but rather experiments with controlled projection error.

Definition at line 41 of file RotationDecorator.m.

Referenced by generateReducedSpaceImpl().

spacereduction.RotationDecorator.Dims = 5

Number of dimensions to rotate by Degree.

Property class data:
Not for real reduction use but rather experiments with controlled projection error.
See Also
Degree


Default: 5

Definition at line 54 of file RotationDecorator.m.

Referenced by generateReducedSpaceImpl().


The documentation for this class was generated from the following file: