SDT-rotor Contents   Functions      PDF Index |
Purpose
This command can be used to set spfmex parameters in order to optimize computation speed for factorization and / or solving.
spfmex_utils('OfactOptim',ki,RO,ofact(1,'lu'));
ki is the matrix that is used for the optimization.
RO is a data structure defining options with following fields:
The last argument ofact(1,'lu') is needed in order to call directly spfmex_utils.
Available command options are
Following example optimize only solving:
ki=rand(20); RO=struct('nCompt',100,... number of computation for result averaging 'maxDomain',2.^[4:7],... parameter 1 'maxZeros',logspace(-3,1,5),... parameter 2 'refineStep',3); % refine results to most relevant parameters spfmex_utils('ofactoptim solve-refine',ki,RO,ofact(1,'lu')); % method,solve,fact,-setopt,refine,