Definition at line 19 of file Kernel.m.
|
function
data = | gen_detailed_data (model,ModelData model_data,IDetailedData detailed_data) |
| Store some additional data for the online calculation. More...
|
|
function
fun = | gen_reduced_data (model,IDetailedData detailed_data,IReducedData reduced_data) |
| Build all components for the assembly of the. More...
|
|
function
gamma = | calculate (ModelData model_data, sim) |
|
virtual function
data = | gen_detailed_data (ModelData model_data,IDetailedData detailed_data) |
| GEN_DETAILED_DATA This function is called by the basis generation algorithm and should be used to calculate all high dimensional quantities that are required for the fast online calculation of $$. More...
|
|
virtual function
fn = | gen_reduced_data (IDetailedData detailed_data,IReducedData reduced_data) |
| GEN_REDUCED_DATA The return value of this function should be a function handle that has the following form rb_gamma = fn(rmodel, reduced_data, sim) More...
|
|
function
g = | gamma (ModelData model_data, sim) |
| GAMMA This function should be implemented when this method allows the calculation of the true gamma value. More...
|
|
function
s = | name () |
| This function should return the name of the gamma calculation method. By default its just the class name! More...
|
|
|
| kernel = "gaussian" |
|
| kernel_parameters = "[1]" |
|
| kernels |
|
function data = ARE.GammaCalculation.Kernel.gen_detailed_data |
( |
|
model, |
|
|
ModelData |
model_data, |
|
|
IDetailedData |
detailed_data |
|
) |
| |
Store some additional data for the online calculation.
- Parameters
-
model | model |
model_data | Matlab structure storing (possibly) high dimensional data needed by IDetailedModel.detailed_simulation(). |
detailed_data | object defining the basis generation algorithm and storage for storing high dimensional data, i.e. dependent on dimension \(H\). This data is necessary for detailed simulations, construction of online matrices, reduced_data and reconstruction of reduced simulations. |
- Return values
-
- Required fields of model:
problem_type —
problem type
- Required fields of detailed_data:
info.M_train.sample —
info.M train.sample
info.chosen_mu —
info.chosen mu
- Generated fields of data:
mus —
mus
values —
values
times —
times
Definition at line 43 of file Kernel.m.
function fun = ARE.GammaCalculation.Kernel.gen_reduced_data |
( |
|
model, |
|
|
IDetailedData |
detailed_data, |
|
|
IReducedData |
reduced_data |
|
) |
| |
Build all components for the assembly of the.
- Parameters
-
model | model |
detailed_data | object defining the basis generation algorithm and storage for storing high dimensional data, i.e. dependent on dimension \(H\). This data is necessary for detailed simulations, construction of online matrices, reduced_data and reconstruction of reduced simulations. |
reduced_data | an object constructing and storing all (low-dimensional) reduced matrices and vectors needed for reduced simulations. |
- Return values
-
- Required fields of detailed_data:
-
- Required fields of model:
-
Definition at line 106 of file Kernel.m.
ARE.GammaCalculation.Kernel.kernels |
Initial value:= struct(" \
'gaussian', {\@(x,y,p) exp(-norm(x-y)^2/p(1)^2), [1]} \
")
Definition at line 35 of file Kernel.m.
The documentation for this class was generated from the following file:
- rbasis/problem_types/+ARE/+GammaCalculation/Kernel.m