idamnjanovic@8: function solver = SMALL_init_solver(varargin) idamnjanovic@24: % idamnjanovic@24: % Centre for Digital Music, Queen Mary, University of London. idamnjanovic@24: % This file copyright 2010 Ivan Damnjanovic. idamnjanovic@24: % idamnjanovic@24: % This program is free software; you can redistribute it and/or idamnjanovic@24: % modify it under the terms of the GNU General Public License as idamnjanovic@24: % published by the Free Software Foundation; either version 2 of the idamnjanovic@24: % License, or (at your option) any later version. See the file idamnjanovic@24: % COPYING included with this distribution for more information. idamnjanovic@24: % idamnjanovic@24: % Function initialise SMALL structure for Dictionary Learning. idamnjanovic@24: % Optional input variables: idamnjanovic@24: % toolbox - name of Dictionary Learning toolbox you want to use idamnjanovic@24: % name - name of the algorithm from above toolbox idamnjanovic@24: % param - parameters you want to set idamnjanovic@24: %% idamnjanovic@24: idamnjanovic@24: solver.toolbox=[]; idamnjanovic@24: solver.name=[]; idamnjanovic@24: solver.param=[]; idamnjanovic@24: solver.solution=[]; idamnjanovic@24: solver.reconstructed=[]; idamnjanovic@24: solver.time=[]; idamnjanovic@24: idamnjanovic@8: end