KerMor
0.9
Model order reduction for nonlinear dynamical systems and nonlinear approximation
|
ABlockedData: General abstract class that allows computation of and SVD on a large matrix that is separated into several blocks. More...
ABlockedData: General abstract class that allows computation of and SVD on a large matrix that is separated into several blocks.
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 ABlockedData.m.
Public Member Functions | |
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... | |
virtual function
varargout = | size (dim) |
virtual function n = | getNumBlocks () |
virtual function B = | getBlock (nr) |
Static Public Member Functions | |
static function res = | test_BlockSVD_vs_SVD () |
Public Attributes | |
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 |
Implemented in data.FileMatrix, data.MemoryTrajectoryData, data.ATrajectoryData, data.AxBlockData, data.JoinedBlockData, and data.FinDiffBlockData.
Referenced by getSVD(), and toMemoryMatrix().
|
pure virtual |
Implemented in data.FileMatrix, data.MemoryTrajectoryData, data.ATrajectoryData, data.AxBlockData, data.JoinedBlockData, and data.FinDiffBlockData.
Referenced by getSVD(), and toMemoryMatrix().
function [ matrix< double > U , matrix< double > S , matrix< double > V ] = data.ABlockedData.getSVD | ( | integer | k, |
matrix< double > | Vexclude, | ||
colvec< integer > | targetdims | ||
) |
Computes an SVD on this blockwise matrix \(A = USV^T\).
k | The number of largest singular values and vectors to compute. Default: all |
Vexclude | A matrix containing orthonormal columns, whose spanned space is to be excluded from the SVD. If targetdims are given, the first dimension must match the targeted dimension's size. Default: [] |
targetdims | The dimensions on which to perform the SVD. Selects all by default. Default: : |
U | The left-hand side singular vectors \(U\) of the decomposition \(U\Sigma V^T = A\). |
S | The singular values \(\Sigma\) of the decomposition \(U\Sigma V^T = A\). |
V | The transposed right-hand side singular vectors \(V\) of the decomposition \(U\Sigma V = A\). |
Definition at line 55 of file ABlockedData.m.
References KerMor.App(), getBlock(), getNumBlocks(), MinRelSingularValueSize, size(), and t.
function prod = data.ABlockedData.mtimes | ( | ) |
Need left-sided matrix multiplication if RHS singular vectors V should be returned.
Definition at line 193 of file ABlockedData.m.
Referenced by data.FileMatrix.mtimes(), and data.FileMatrix.times().
|
pure virtual |
Implemented in data.FileMatrix, data.MemoryTrajectoryData, data.ATrajectoryData, data.AxBlockData, data.JoinedBlockData, and data.FinDiffBlockData.
Referenced by getSVD(), and toMemoryMatrix().
|
static |
Definition at line 240 of file ABlockedData.m.
function A = data.ABlockedData.toMemoryMatrix | ( | ) |
Converts this FileMatrix to a full double matrix.
Definition at line 210 of file ABlockedData.m.
References getBlock(), getNumBlocks(), and size().
Referenced by approx.algorithms.ABase.computeApproximation(), data.ApproxTrainData.getErrorsFor(), data.ApproxTrainData.getXiDists(), data.ApproxTrainData.makeUniqueXi(), FunVis2D>rangesFromATD(), approx.algorithms.VKOGA.startAdaptiveExtension(), and approx.algorithms.Componentwise.templateComputeApproximation().
data.ABlockedData.MinRelSingularValueSize = 1e-20 |
The minimum relative value of singular values that triggers selection of the compared to the largest one.
Default: 1e-20
Definition at line 42 of file ABlockedData.m.
Referenced by getSVD(), and data.FileTrajectoryData.loadobj().