KerMor
0.9
Model order reduction for nonlinear dynamical systems and nonlinear approximation
|
Data class that contains a model's large data, including subspace matrices, trajectories and approximation training data. More...
Data class that contains a model's large data, including subspace matrices, trajectories and approximation training data.
ctime
for a trajectory. This comes from the fact that for error estimator comparisons we need the ctime
for each trajectory for every different error estimator. See the changes in models.BaseModel for more information.This class is part of the framework
Homepage
http://www.morepas.org/software/index.htmlDocumentation
http://www.morepas.org/software/kermor/index.htmlLicense
KerMor license conditions Definition at line 18 of file ATrajectoryData.m.
Public Member Functions | |
function | transferFrom (data.ATrajectoryData source) |
Transfers the data from one ATrajectoryData instance to another. More... | |
function [
double t ,
dia , m , M ] = | computeManifoldDiameters () |
function n = | getNumBlocks () |
% data.ABlockedData implementations More... | |
function B = | getBlock (nr) |
function [
n , m ] = | size (dim) |
virtual function [ colvec < double > x , double ctime ] = | getTrajectory (colvec< double > mu,integer inputidx) |
Gets the traejctory for the given parameter \(\mu\) and input index. More... | |
virtual function n = | getNumTrajectories () |
Gets the total number of trajectories. More... | |
virtual function l = | getTotalLength () |
Length of the stored trajectories. More... | |
virtual function [ colvec < double > x , colvec< double > mu , integer inputidx , double ctime ] = | getTrajectoryNr (nr) |
Gets the trajectory with the number nr. More... | |
virtual function | addTrajectory (colvec< double > x,colvec< double > mu,integer inputidx,double ctime) |
Adds a trajectory to the ModelData instance. More... | |
virtual function | clearTrajectories () |
Clears all stored trajectory data. More... | |
virtual function [ colvec < double > x , X ] = | getBoundingBox () |
Gets the bounding box of the state space of all trajectories. More... | |
virtual function [ d , mud ] = | getTrajectoryDoFs () |
Returns the degrees of freedom for the trajectories and parameter size. More... | |
Public Member Functions inherited from data.ABlockedData | |
function [
matrix< double > U , matrix < double > S , matrix< double > V ] = | getSVD (integer k,matrix< double > Vexclude,colvec< integer > targetdims) |
Computes an SVD on this blockwise matrix \(A = USV^T\). More... | |
function prod = | mtimes () |
Need left-sided matrix multiplication if RHS singular vectors V should be returned. More... | |
function A = | toMemoryMatrix () |
Converts this FileMatrix to a full double matrix. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from data.ABlockedData | |
static function res = | test_BlockSVD_vs_SVD () |
Public Attributes inherited from data.ABlockedData | |
double | MinRelSingularValueSize = 1e-20 |
The minimum relative value of singular values that triggers selection of the compared to the largest one. 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... | |
|
pure virtual |
Adds a trajectory to the ModelData instance.
x | The state variable vector \(\vx(t)\) |
mu | The currently used parameter \(\vmu\). Set to \([]\) if not used. |
inputidx | The index \(i\) of the currently used input function \(u_i(t)\). Set to \([]\) if not used. |
ctime | The computation time |
Implemented in data.FileTrajectoryData, and data.MemoryTrajectoryData.
Referenced by models.BaseFullModel.off2_genTrainingData(), and transferFrom().
|
pure virtual |
Clears all stored trajectory data.
Implemented in data.FileTrajectoryData, and data.MemoryTrajectoryData.
Referenced by models.BaseFullModel.off2_genTrainingData(), and transferFrom().
Definition at line 68 of file ATrajectoryData.m.
|
virtual |
Implements data.ABlockedData.
Reimplemented in data.MemoryTrajectoryData.
Definition at line 87 of file ATrajectoryData.m.
References getTrajectoryNr().
Gets the bounding box of the state space of all trajectories.
Implemented in data.FileTrajectoryData, and data.MemoryTrajectoryData.
|
virtual |
% data.ABlockedData implementations
Implements data.ABlockedData.
Reimplemented in data.MemoryTrajectoryData.
Definition at line 77 of file ATrajectoryData.m.
References getNumTrajectories().
Referenced by data.FileTrajectoryData.getTotalLength().
|
pure virtual |
Gets the total number of trajectories.
Implemented in data.FileTrajectoryData, and data.MemoryTrajectoryData.
Referenced by spacereduction.PODGreedy.generateReducedSpaceImpl(), getNumBlocks(), data.selection.DefaultSelector.select(), data.selection.LinspaceSelector.select(), data.selection.TimeSelector.select(), data.selection.EpsSelector.select(), and transferFrom().
|
pure virtual |
Length of the stored trajectories.
Implemented in data.FileTrajectoryData, and data.MemoryTrajectoryData.
Referenced by size().
|
pure virtual |
Gets the traejctory for the given parameter \(\mu\) and input index.
mu | The currently used parameter \(\vmu\). Set to \([]\) if not used. |
inputidx | The index \(i\) of the currently used input function \(u_i(t)\). Set to \([]\) if not used. |
Implemented in data.FileTrajectoryData, and data.MemoryTrajectoryData.
Referenced by models.BaseFullModel.computeTrajectory().
|
pure virtual |
Returns the degrees of freedom for the trajectories and parameter size.
Implemented in data.FileTrajectoryData, and data.MemoryTrajectoryData.
Referenced by size().
|
pure virtual |
Gets the trajectory with the number nr.
Implemented in data.FileTrajectoryData, and data.MemoryTrajectoryData.
Referenced by getBlock(), models.BaseFullModel.plotTrajectoryNr(), and transferFrom().
|
virtual |
Implements data.ABlockedData.
Reimplemented in data.MemoryTrajectoryData.
Definition at line 92 of file ATrajectoryData.m.
References getTotalLength(), and getTrajectoryDoFs().
Referenced by data.FileTrajectoryData.addTrajectory(), data.FileTrajectoryData.consolidate(), and data.FileTrajectoryData.getTrajectoryDoFs().
function data.ATrajectoryData.transferFrom | ( | data.ATrajectoryData | source | ) |
Transfers the data from one ATrajectoryData instance to another.
source | The source of data |
Definition at line 50 of file ATrajectoryData.m.
References addTrajectory(), clearTrajectories(), getNumTrajectories(), and getTrajectoryNr().
Referenced by models.BaseFullModel.off2_genTrainingData(), and data.ModelData.useFileTrajectoryData().