64 this.
Prototype= kernels.ParamTimeKernelExpansion;
116 e[end] = [
" State: " e[end]];
143 copy = kernels.config.ParamTimeExpansionConfig;
144 copy =
clone@kernels.config.ExpansionConfig(
this, copy);
158 collectRanges@kernels.config.ExpansionConfig(
this, ptable, proppath);
173 ptc = kernels.config.ParamTimeExpansionConfig;
175 gk = kernels.config.GaussConfig(
" G ",1:n);
178 tk = kernels.config.PolyConfig(linspace(0,5,n-1));
181 res = ptc.getNumConfigurations == n-1;
183 tk = kernels.config.PolyConfig(linspace(0,5,n));
185 res = res && ptc.getNumConfigurations == n;
187 kexp = ptc.configureInstance(1);
188 res = res && isa(kexp,
" kernels.ParamTimeKernelExpansion ");
190 disp(ptc.getConfigurationString(1));
191 disp(ptc.getConfiguredPropertiesString);
192 ptc1 = ptc.getSubPart(1,2);
193 res = res && ptc1.getNumConfigurations == n/2;
194 ptc2 = ptc.getSubPart(2,2);
195 res = res && ptc2.getNumConfigurations == n/2;
197 t = ptc.getValueRanges;
Collection of generally useful functions.
IClassConfig TimeConfig
The time kernel configuration.
function conf = getSubPart(partNr, totalParts)
IClassConfig: Abstract interface for a set of configurations that can be applied to a given algorithm...
virtual function integer n = getNumConfigurations()
Returns the number of configurations that can be applied.
IClassConfig StateConfig
The state space kernel configuration.
virtual function char str = getConfiguredPropertiesString()
Returns a string of the changed properties by this IClassConfig instance.
function str = getConfigurationString(nr, asCell)
virtual function IClassConfig conf = getSubPart(integer partNr,integer totalParts)
Returns a sub-part of this configuration as a new instance.
static function res = test_ParamTimeExpansionConfig()
function copy = clone(copy)
The interface method with returns a copy of the current class instance.
IClassConfig ParamConfig
The parameter kernel configuration.
virtual function collectRanges(ptable, proppath)
virtual function integer str = getConfigurationString(integer nr,logical asCell)
Returns the number of configurations that can be applied.
function str = getConfiguredPropertiesString()
Returns a string of the changed properties by this IClassConfig instance.
ICloneable Prototype
The prototype class that is to be used as base class before configuring a new instance.
function cn = getClassName()
Returns the simple class name of this object without packages.
disp
Handle object disp method which is called by the display method. See the MATLAB disp function...
function integer n = getNumConfigurations()
Returns the number of configurations that can be applied.
ParamTimeExpansionConfig: Collects several class configurations for state, time and paramter kernels ...
ParamTimeExpansionConfig()
function kernels.KernelExpansion kexp = configureInstance(nr)
char RequiredPrototypeClass
Determines the class that is allowed to be configured.
static function char str = implode(char|rowvec data,char glue,char format)
Implodes the elements of data using glue.
virtual function ICloneable object = configureInstance(integer nr)
Creates a new instance with given configuration.
ExpansionConfig: Base class config for kernel expansions.
function collectRanges(ptable, proppath)