1 namespace dscomponents{
90 this =
this@dscomponents.ACoreFun(sys);
94 this.
addlistener(
" Expansion ",
" PostSet ",@this.ExpansionPostSet);
96 this.
Expansion= kernels.ParamTimeKernelExpansion;
101 projected = this.
clone;
102 projected =
project@dscomponents.ACoreFun(
this, V, W, projected);
167 copy = dscomponents.ParamTimeKernelCoreFun(this.
System);
170 copy =
clone@dscomponents.ACoreFun(
this, copy);
192 error(
" This should never be called. 'evaluate' is implemented directly. ");
199 function ExpansionPostSet(unused1,unused2) {
204 isa(this.
Expansion, " kernels.ParamTimeKernelExpansion ") ...
205 && ~isa(this.Expansion.TimeKernel," kernels.NoKernel ");
206 this.
fDim= size(this.Expansion.Ma,1);
207 this.
xDim= size(this.Expansion.Centers.xi,1);
209 this.addDimListeners;
213 function addDimListeners() {
216 if ~isempty(this.Expansion)
217 this.cl= this.Expansion.
addlistener(" Centers "," PostSet ",@this.CentersPostSet);
218 this.mal= this.Expansion.
addlistener(" Ma "," PostSet ",@this.MaPostSet);
223 function CentersPostSet(unused1,unused2) {
224 this.
xDim= size(this.Expansion.Centers.xi,1);
228 function MaPostSet(unused1,unused2) {
229 this.
fDim= size(this.Expansion.Ma,1);
238 this.
addlistener(
" Expansion ",
" PostSet ",@this.ExpansionPostSet);
239 this.addDimListeners;
function L = getGlobalLipschitz(double t,colvec< double > mu)
For some error estimators, a global Lipschitz constant estimation is performed. This function has to ...
ParamTimeKernelCoreFun: Dynamical system core function which evaluates a contained kernel expansion...
integer fDim
The current output dimension of the function.
function matrix< double > fx = evaluateMulti(matrix< double > x, varargin)
Evaluates this CoreFun for multiple values.
function c = getGlobalLipschitz(double t,colvec< double > mu)
For some error estimators, a global Lipschitz constant estimation is performed. This function has to ...
CustomProjection
Set this property if the projection process is customized by overriding the default project method...
function matrix< double > J = getStateJacobian(colvec< double > x,double t)
Implement explicitly as both ACoreFun and KernelExpansion provide getStateJacobian methods...
logical TimeDependent
Flag that indicates if the ACoreFun is (truly) time-dependent.
function projected = project(V, W)
Call superclass method.
DPCMObject()
Creates a new DPCM object.
function target = project(V, W)
function fx = evaluate(matrix x, varargin)
Evaluates the kernel expansion.
Basic interface for all dynamical system's core functions Inherits the AProjectable interface...
A variable number of input arguments.
integer xDim
The current state space dimension of the function's argument .
models.BaseFirstOrderSystem System
The system associated with the current ACoreFun.
function matrix< double > y = evaluateCoreFun()
function J = getStateJacobian(x, varargin)
Evaluates the jacobian matrix of this function at the given point.
V
The matrix of the biorthogonal pair .
colvec< double > mu
The current model parameter mu for evaluations. Will not be persisted as only valid for runtime durin...
kernels.KernelExpansion Expansion
The inner kernel expansion which is evaluated as core function.
function copy = clone(copy)
The interface method with returns a copy of the current class instance.
IGLOBALLIPSCHITZ Interface for all functions that have a global lipschitz constant for the state/spat...
function copy = clone(copy)
The interface method with returns a copy of the current class instance.
static function this = loadobj()
addlistener
Creates a listener for the specified event and assigns a callback function to execute when the event ...
W
The matrix of the biorthogonal pair .
ParamTimeKernelCoreFun(sys)
function matrix< double > fx = evaluate(colvec< double > x,double t)
Evaluates this CoreFun.
KernelExpansion: Base class for state-space kernel expansions.