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
Norm Class Reference

Norm: Static class for commonly used norms on sets of vectors. More...

Detailed Description

Norm: Static class for commonly used norms on sets of vectors.

All norm functions perform their respective computations on each column of a given matrix!

Author
Daniel Wirtz
Date
2012-03-29
New in 0.6:
(Daniel Wirtz, 2012-03-29) Added this class.

This class is part of the framework

KerMor - Model Order Reduction using Kernels

Definition at line 17 of file Norm.m.

Static Public Member Functions

static function rowvec
< double > n = 
L2 (matrix< double > x)
 Returns the discrete \(L^2\) norm for each column vector in x. More...
 
static function vecs = normalizeL2 (vecs)
 
static function rowvec
< double > n = 
L1 (matrix< double > x)
 Returns the discrete \(L^1\) norm for each column vector in x. More...
 
static function rowvec
< double > n = 
Linf (matrix< double > x)
 Returns the discrete \(L^\infty\) norm for each column vector in x. More...
 
static function rowvec
< double > n = 
LG (matrix< double > x, G)
 Returns the \(\vG\)-induced norm for each column vector in \(\vX\). More...
 

Member Function Documentation

function rowvec< double > n = Norm.L1 ( matrix< double x)
static

Returns the discrete \(L^1\) norm for each column vector in x.

Parameters
xA matrix \(\vX\) containing column vectors \(\vx_i\)
Return values
nThe \(L^1\) norm \(\norm{\vx}{1} = \sum\limits_{i=1}^d|x_i|\) for each column vector \(\vx\in\R^d\) in \(\vX\)

Definition at line 59 of file Norm.m.

Referenced by data.ApproxTrainData.getErrorsFor().

Here is the caller graph for this function:

function rowvec< double > n = Norm.L2 ( matrix< double x)
static

Returns the discrete \(L^2\) norm for each column vector in x.

Parameters
xA matrix \(\vX\) containing column vectors \(\vx_i\)
Return values
nThe \(L^2\) norm \(\norm{\vx}{2} = \sqrt{\sum\limits_{i=1}^dx_i^2}\) for each column vector \(\vx\in\R^d\) in \(\vX\)

Definition at line 39 of file Norm.m.

Referenced by ModelAnalyzer.analyzeError(), testing.DEIM.compareDEIM_Full_Jacobian(), ModelAnalyzer.compareRedFull(), testing.DEIM.computeDEIMErrors(), testing.DEIM.effectivityAnalysis(), models.muscle.AMuscleConfig.geta0(), testing.DEIM.getApproxErrorFullRed(), ModelAnalyzer.getATDError(), testing.DEIM.getDEIMErrorsAtXForParams_plots(), testing.DEIM.getDEIMReducedModelErrors(), data.ApproxTrainData.getErrorsFor(), ModelAnalyzer.getRedErrForParamSamples(), ModelAnalyzer.getTrajApproxError(), testing.DEIM.getTrajApproxErrorDEIMEstimates(), Utils.getTube(), models.motorunit.experiments.InitialConditions(), general.interpolation.KernelInterpol.interpolate(), demos.VKOGA.IterationPlots(), testing.Speed.KernelExpCustomBaseEval(), DEIMEstimatorAnalyzer>pushbutton5_Callback(), DEIMEstimatorAnalyzer>rePlot(), normalizeL2(), ParamSweep(), error.DefaultEstimator.postProcess(), approx.BaseApprox.test_ApproxProjections(), testing.DEIM.test_DEIMNoSpatialDependence(), sampling.RandomSampler.test_DomainSampling(), data.FileMatrix.test_Times_MTimes(), Utils.test_Tube(), approx.TPWLApprox.test_TWPLApprox(), and models.muscle.System.test_UnassembledEvaluation().

Here is the caller graph for this function:

function rowvec< double > n = Norm.LG ( matrix< double x,
  G 
)
static

Returns the \(\vG\)-induced norm for each column vector in \(\vX\).

Parameters
xA matrix \(\vX\) containing column vectors \(\vx_i\)
GA positive definite matrix \(\vG\)
Return values
nThe G-norm \(\noG{\vx} = \sqrt{\vx^T\vG\vx}\) for each column vector \(\vx\) in \(\vX\)

Definition at line 87 of file Norm.m.

Referenced by error.DEIMEstimator.getAlpha(), error.initial.AffineParametric.getE0(), error.DefaultEstimator.postProcess(), and error.initial.Constant.prepareForReducedModel().

Here is the caller graph for this function:

function rowvec< double > n = Norm.Linf ( matrix< double x)
static

Returns the discrete \(L^\infty\) norm for each column vector in x.

Parameters
xA matrix \(\vX\) containing column vectors \(\vx_i\)
Return values
nThe \(L^\infty\) norm \(\norm{\vx}{\infty} = \max\limits_{i=1}^d|x_i|\) for each column vector \(\vx\in\R^d\) in \(\vX\)

Definition at line 73 of file Norm.m.

Referenced by ModelAnalyzer.compareRedFull(), ModelAnalyzer.getATDError(), ModelAnalyzer.getRedErrForParamSamples(), ModelAnalyzer.getTrajApproxError(), and models.motorunit.experiments.InitialConditions().

Here is the caller graph for this function:

static function vecs = Norm.normalizeL2 (   vecs)
static

Definition at line 53 of file Norm.m.

References L2(), and t.

Referenced by fem.BaseFEM.init().

Here is the call graph for this function:

Here is the caller graph for this function:


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