1 namespace spacereduction{
110 str = sprintf(
" %s/%s: Projection error over training data ",...
111 context,
class(
this));
112 h = pm.nextPlot(sprintf(
" spacereduction_projerr_%s ",this.
ID),...
113 str,
" subspace size ",
" error ");
124 n = blockdata.getNumBlocks;
125 x = blockdata.getBlock(1);
135 x = blockdata.getBlock(idx);
146 fprintf(
" Initial values are all zero vectors. Using main POD mode of first block data as initial space.\n ");
148 xb1 = blockdata.getBlock(1);
149 V = pod.computePOD(xb1(subset,:));
150 elseif size(x0,2) > 1
151 V = pod.computePOD(x0);
179 #if 0 //mtoc++: 'set.IncludeTrajectoryFxiData'
181 if isempty(value) || ~islogical(value) || ~isscalar(value)
182 error(" Value needs to be a
logical scalar. ");
191 #if 0 //mtoc++: 'set.IncludeFiniteDifferences'
193 if isempty(value) || ~islogical(value) || ~isscalar(value)
194 error(" Value needs to be a
logical scalar. ");
203 #if 0 //mtoc++: 'set.IncludeBSpan'
205 if isempty(value) || ~islogical(value) || ~isscalar(value)
206 error(" Value needs to be a
logical scalar. ");
215 #if 0 //mtoc++: 'set.IncludeAxData'
217 if isempty(value) || ~islogical(value) || ~isscalar(value)
218 error(" Value needs to be a
logical scalar. ");
227 #if 0 //mtoc++: 'set.TargetDimensions'
230 if ~strcmp(value ,
" : ")
232 for
k=1:length(value)
233 if ~isvector(value[
k])
238 elseif ~isvector(value)
Collection of generally useful functions.
function plotSummary(pm, context)
varargin TargetDimensions
This property determines which dimensions are to be reduced. It is possible to reduce the entire numb...
static function idx = findVecInMatrix(A, b)
Finds column vectors inside a matrix.
The base class for any KerMor detailed model.
A MatLab cell array or matrix.
Base class for any KerMor class.
function [ V , W ] = generateReducedSpace(models.BaseFullModel model)
Generates the reduced linear subspace for the given model.
virtual function [ V , W ] = generateReducedSpaceImpl(models.BaseFullModel model, subset)
A variable number of input arguments.
IReductionSummaryPlotProvider:
ID
An ID that allows to uniquely identify this DPCMObject (at least within the current MatLab session/co...
logical IncludeTrajectoryFxiData
Flag if to include values for each value, too.
Global configuration class for all KerMor run-time settings.
static function KerMor theinstance = App()
The singleton KerMor instance.
Base class for all space reduction algorithms.
function V = getInitialSpace(blockdata, pod, subset)
Computes the initial space, which is the first POD mode of the initial values!