KerMor
0.9
Model order reduction for nonlinear dynamical systems and nonlinear approximation
|
Speed: Collects tests regarding speed of different methods and strategies. More...
Speed: Collects tests regarding speed of different methods and strategies.
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 Static Public Member Functions | |
static function [ colvec < double > times , double e ] = | KernelExpCustomBaseEval (kernels.KernelExpansion kexp,integer numpts) |
Tests the evaluation speed and determines the evaluation error of a kernel expansion and this expansion using the default direct translate base. More... | |
static function pt = | TryCatch (loopsize) |
TryCatch: Demonstrate how slow try-catch blocks are. More... | |
static function pt = | BinaryvsMatSave (double fill,integer n,integer m) |
BinaryvsMatSaveSpeed: Tests the speeds and storage size required for storing double matrices. More... | |
static function | FindVecInMatrix (integer n,integer m) |
Created for test purposes of finding a vector in a matrix. More... | |
static function | AffParamMatrix (integer n) |
Tests the evaluation speed of the general.AffParamMatrix compared to loop-type evaluations of affine decompositions. More... | |
static function res = | GaussMexSpeedTest1Arg (sx, sy, iter) |
Tests the speed of the c implementations of evaluate for gaussians. More... | |
static function res = | GaussMexSpeedTest2Arg (sx, sy1, sy2, iter) |
Tests the speed of the c implementations of evaluate for gaussians. More... | |
|
static |
Tests the evaluation speed of the general.AffParamMatrix compared to loop-type evaluations of affine decompositions.
n | The number of test runs to perform. Default: 5000 |
BinaryvsMatSaveSpeed: Tests the speeds and storage size required for storing double matrices.
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 conditionsfill | The percentage in [0,1] of which the matrix should consist of non-zero values Default: .5 |
n | Row number Default: 2000 |
m | Row number Default: 1000 |
Definition at line 172 of file Speed.m.
References PrintTable.addRow(), KerMor.App(), k, and t.
Created for test purposes of finding a vector in a matrix.
n | Number of matrix rows Default: 500 |
m | Number of matrix columns Default: 6000 |
Definition at line 256 of file Speed.m.
References t.
|
static |
|
static |
|
static |
Tests the evaluation speed and determines the evaluation error of a kernel expansion and this expansion using the default direct translate base.
Must have a custom base set (HasCustomBase = true)
kexp | A kernel expansion |
numpts | The number of random points at which to evaluate |
times | A \(2\times 1\) vector containing the evaluation times using the custom and direct base in the first and second entry, respectively. |
e | The maximum pointwise absolute and relative \(L^2\)-errors over all runs |
Definition at line 41 of file Speed.m.
References kernels.KernelExpansion.KernelExpansion(), Norm.L2(), and t.
|
static |
TryCatch: Demonstrate how slow try-catch blocks are.
Copied from http://www.mathworks.com/matlabcentral/newsreader/view_thread/275243.
Definition at line 101 of file Speed.m.
References PrintTable.HasHeader, and t.